Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.05 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.05 KB

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