https://github.com/itsteknas/gitlabbackuputil
A small node project to clone all existing gitlab projects into your local filesystem.
https://github.com/itsteknas/gitlabbackuputil
backup backup-script clone git gitlab gitlab-api
Last synced: about 1 month ago
JSON representation
A small node project to clone all existing gitlab projects into your local filesystem.
- Host: GitHub
- URL: https://github.com/itsteknas/gitlabbackuputil
- Owner: itsTeknas
- Created: 2017-10-07T08:23:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T14:37:56.000Z (about 1 year ago)
- Last Synced: 2025-04-07T03:09:55.887Z (about 1 month ago)
- Topics: backup, backup-script, clone, git, gitlab, gitlab-api
- Language: JavaScript
- Size: 90.8 KB
- Stars: 71
- Watchers: 4
- Forks: 47
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GitlabBackupUtil
A Small utility to backup all of your gitlab repositories to local filesystem.
You never know when international laws change and you loose access to your repos.It is painful for me to hear how trade restrictions have hurt people. We have gone to great lengths to do no more than what is required by the law, but of course people are still affected. GitHub is subject to US trade law, just like any company that does business in the US.
— Nat Friedman (@natfriedman) July 28, 2019## How to Backup
### Backup using http (default)
```javascript
npm install -g gitlab-backup-util
gitlab-backup-util -t 'your-gl-token-here'
```### Backup using ssh
```javascript
gitlab-backup-util -t 'your-gl-token-here' -m ssh
```#### Future Scope
* - [✔] If the repository already exists, `git pull` instead of cloning
* - [ ] Gui for entering token### Thats It :rocket:, Now go backup