christianspecht / scm-backup

Makes offline backups of your cloud hosted source code repositories
https://scm-backup.org/
GNU General Public License v3.0
61 stars 20 forks source link

Backup all branches from a project #63

Closed StevenRenaux closed 2 years ago

StevenRenaux commented 2 years ago

Is it possible to backup a project with all of the branches? No explanations found in the documentation if it the case is possible and more than that i would like to know for a bitbucket backup.

christianspecht commented 2 years ago

Yes, this is not only possible, this is the default behaviour.
SCM Backup will basically do a backup by making a full clone of the repository, including all branches.

I thought that the documentation is clear enough (for example, it says that the backups are clones), but apparently it's not.

So you think I should add a clear explanation like the above "...a full clone of the repository, including all branches" somewhere in the documentation?

StevenRenaux commented 2 years ago

I cloned the bare repo and i thought to find all branches in the new repository. I didn't realise if i needed a special branch, i needed to clone it from the bare repo. Maybe it's that part who would need more precisions.

Best regards,