Skip to content

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

Notifications You must be signed in to change notification settings

AaronEast/GitlabBackupUtil

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitlabBackupUtil

Shamelessly stolen and modified from https://github.com/itsTeknas/GitlabBackupUtil - Thanks!

A Small utility to backup all of your gitlab repositories to local filesystem.

This is only clone repos that aren't mirrored from another SCM

Before running the script, make sure you have persisted authentication on local cli with gitlab.

This specifically works for Slicelife repos. It would need to be modified to work for other institutions.

Create a file named config.json with the structure

{
    "token" : "YOUR_GITLAB_TOKEN",
    "dir" : "Absolute path to backup dir"
}

place the file in the root directory of the project.

run the following commands

npm install
npm start

Thats It 🚀, Now go backup

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%