Missed Team ’24? Catch up on announcements here.

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

Best way to back up all BitBucket repositories?

Juho Vainio June 29, 2018

I'm thinking of backing up all our company's BitBucket repositories to some offline backup.

The reason for this is that all the repositories are basically under one account and if that account is compromised, then all the repos can be accidentially deleted and the delete operation cannot be undone.

What would you consider the best way to easily (automatically) back up all our repositories?

2 answers

1 accepted

3 votes
Answer accepted
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 29, 2018

Hi @Juho Vainio,

There have been various threads on this topic in the past. Let me share a couple here, but there are definitely more.

For example, this recent one:

https://community.atlassian.com/t5/Bitbucket-questions/How-I-can-backup-all-the-repository-bitbucket-cloud-of-one-of/qaq-p/740751

 

And this one containing more links:

https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-automatic-backup-solutions/qaq-p/271138

 

I've just tagged some of the previous answers with the "bitbucket-cloud-backup" tag and you can see the list here:

https://community.atlassian.com/t5/tag/bitbucket-cloud-backup/tg-p?sort=views

 

Cheers,

Caterina - Atlassian

1 vote
Helge July 15, 2019

You could also try this Python-based 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 and suggestions for improvement.

 

regards,

Helge

Ryan Hilliker July 19, 2019

Thanks, @Helge I'll check out your repo

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events