Backup complete workspace

Michael Hamatschek February 9, 2022

Hi there,


are there any opportunities to backup all repositories of a given workspace at a time?
There are common third party tools for this, but is there any option to do this within Bitbucket Cloud.

As part of our annual backups, we would like to archive all existing repositories. 

 

Thank you in advance 

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 13, 2022

Hi @Michael Hamatschek

Thank you for reaching out to the community.

For the feature on backing up repositories, I'm afraid there's no feature that will allow you to back up all your repositories from a given workspace at a time.
The same way about archiving repositories.

We do have the existing feature requests for them below:

For now, you can upvote and watch those feature requests so that you'll be notified of any updates from our team when the feature becomes available on Bitbucket Cloud.
Please do note that we don't have an exact ETA for the feature request as all new features will be implemented according to our policy here.

As a workaround from the backup repository feature, we highly suggest taking backups by cloning your repositories using --mirror clone.

git clone --mirror <Repo URL>

You can also create your own script that will perform this in your preferred schedule.
You may also use this API 2.0 endpoint to list your workspace's repository names to be used in your own script.

Please do let us know if you have further questions.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events