gitlabber icon indicating copy to clipboard operation
gitlabber copied to clipboard

Regarding use for backups

Open jeffrson opened this issue 4 years ago • 2 comments

Not really a bug, but some questions: I want to use gitlabber for backing up my repositories from Gitlab.

How does gitlabber behave then? Should I simply rerun it? Will it clone new repositories and update (fetch) existing?

Is there a "mirror mode" (git clone --mirror ; git remote update)?

Thanks a lot

jeffrson avatar Feb 09 '21 10:02 jeffrson

If the project directory exists and is a valid git repository (has .git folder in it) gitlabber will perform a git pull in the directory, otherwise the project directory will be created and the gitlab project will be cloned into it.

Currently mirror mode is not supported, gitlabber also doesn't backup any GitLab server constructs there are other tools to do that.

ezbz avatar Feb 21 '21 14:02 ezbz

Would be good to have a way to use "git clone --bare" to save disk space.

lambdafu avatar Sep 13 '21 19:09 lambdafu