I wonder if anyone have built or know of a readily available automatic backup solutions for bitbucket? As I understand it bitbucket current backups are only for disaster recovery?
Hi Pierre,
As mentioned by the document you linked, Bitbucket itself doesn't offer a way to restore a repository deleted by a user. I did however some research and found some links that may be useful. As pointed by Seth, every clone of the repo is indeed a backup (maybe not always up to date), so you should be able to restore a repository by having your own backup of it.
In the following links there is some discussion on this, as well as some scripts presented to have this done, in case you want to automatize the process:
Regards,
Gustavo Refosco
@gustavo_refosco could you please update the link https://www.jobnix.in/bitbucket-backup-script-repository-backup/ to https://nixhive.com/bitbucket-backup-script-repository-backup/
I have lost that domain.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use this new tool bbbackup which is Open Source.
Bitbucket automatic backup solution providing Cloud-to-Local and Cloud-to-Cloud repository cloning written in Python
https://github.com/OpenReplyDE/bbbackup
I am happy for pull requests.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's doesn't work when using bitbucket with a google account.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Technically, every clone of the repository is a backup (Git and Hg), though the owner of the clone is responsible for running Fetches to keep it up-to-date. Maybe someone else knows of something more automatic, though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So I have 3 users and one master file also a download site/upload I have cloned and since fetched from source tree daily. How to verify I am getting all my files? I am not a developer I am an owner. total newbie. I need a piece of mind my source code is complete and out of harm's way, Please advise?
Peter!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For example: if you accidently deleted your repository.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What kind of situation are you wanting the backups to protect you from?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.