Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket automatic backup solutions

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?

5 answers

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

What kind of situation are you wanting the backups to protect you from?

For example: if you accidently deleted your repository.

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.

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 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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,886 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you