amitsaha / gitbackup

Tool to backup your Bitbucket, GitHub and GitLab repositories
MIT License
194 stars 33 forks source link

How does the backup work? #29

Closed lattice0 closed 3 years ago

lattice0 commented 5 years ago

It isn't clean in the readme how the backup works. Is it a mirror? If I mess with the official git repository it will mess in the backup one? Or is it just a tree snapshot?

ps: why do I need to provide credentials for public repositories?

amitsaha commented 5 years ago

Hi @lucaszanella - backup right now is a git clone for the first backup and then git pull on subsequent backups.

Currently the token is used to access the GitHub/GitLab API. Hence it is needed for public repositories as well.

amitsaha commented 3 years ago

Added as a FAQ entry in https://github.com/amitsaha/gitbackup/pull/58/files