/GitlabBackupUtil

A small node project to clone all existing gitlab projects into your local filesystem.

Primary LanguageJavaScript

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)

npm install -g gitlab-backup-util
gitlab-backup-util -t 'your-gl-token-here'

Backup using ssh

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 🚀, Now go backup