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

Pierre Nilsson Apr 23, 2015

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?

4 answers

1 vote
Gustavo Refosco Apr 24, 2015

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

0 votes
Seth Apr 24, 2015

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

0 votes
Pierre Nilsson Apr 24, 2015

For example: if you accidently deleted your repository.

0 votes
Seth Apr 24, 2015

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.

Peter Nelson Sep 28, 2018

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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

1,960 views 1 19
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