Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

How do we backup Bitbucket Cloud information?

Bar T
Contributor
March 3, 2019

We will be migrating to another account/domain shortly.

How can we manually backup all Bitbucket Cloud account information (users, groups, repos)?

 

Thanks

1 answer

0 votes
Marty
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 3, 2019

Hi Barbara,

I am not on the Bitbucket team, but I will try to help.

Can you explain what you mean by migrating to another account/domain?

 

I'll assume you're using Bitbucket Cloud due to the tags on this Question.

You could use the Bitbucket Cloud REST API to export the repositories, users and groups.

https://developer.atlassian.com/cloud/bitbucket/about-bitbucket-cloud-rest-api

I'd recommend using v2.0 of the API.

For example, you could call /repositories/{username} to retrieve data about your repositories. https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D

You could call /users/{username}/members to list the members of a team

https://developer.atlassian.com/bitbucket/api/2/reference/resource/users/%7Busername%7D/members

I hope that helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Upcoming Bitbucket Events