So, i was faced with the problem of taking backups to all my projects for purpose of DR. As you can expect, i had a lot of projects nested in groups and Manually cloning every one of them is just not the developer style of doing things.

Solution: A small node utility which does exactly that !

STEP 1

goto : https://gitlab.com/profile/personal_access_tokens and get yourself a personal token.

GitLab Personal Access Token generation page

Copy that token and keep it handy

STEP 2

clone this project by typing

git clone https://github.com/itsTeknas/GitlabBackupUtil.git

STEP 3

Follow the Readme instructions on the Repository to place the token in the right place and start the utility.

And Voila ! You just started cloning all your repositories nicely arranged in group wise folders.

Sanket Berde

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store