We will be migrating to another account/domain shortly.
How can we manually backup all Bitbucket Cloud account information (users, groups, repos)?
Thanks
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!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.