You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi there,
we want to move our repository from our vendor (datacenter) to our bitbucket instance (cloud). It is required to move all branches which are bleong to the repository and all pull requests.
How can this be achieved?
thanks
Peter
Hi Peter,
Are you using Bitbucket Data Center now, or a different product? It is not very clear what product you want to migrate from.
Kind regards,
Theodora
Hi Theodora,
yes the repositories currently are on a Bitbucket Data Center.
thanks
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
Thank you for your reply. We have a plugin available that allows migration from Bitbucket Server to Bitbucket Cloud, but it is not certified for Bitbucket Data Center yet. We plan to make the plugin Data Center certified by the end of the year.
This plugin can be found here:
There are other ways to migrate the repositories as well, e.g.
- using our importer
- or take a mirror clone of each Bitbucket Data Center repo and push from the mirror clone to an empty Bitbucket Cloud repo
However, these approaches will migrate the Git repo only, with all the branches, but without any metadata, like pull requests.
Since you are interested in pull requests migration, I would recommend doing the migration using the Migration Assistance plugin when it becomes supported for Data Center, as it's the only method that migrates pull requests as well. Please note that the plugin will be compatible with versions 7.x onwards of Bitbucket Data Center.
We also have the following guide on how to plan such a migration:
If you have any questions, please feel free to let me know.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Theodora,
thanks for pointing out the import function. The problem we have, is that we also need all pull requests to migrate as well for compliance reason.
Is there any possibility?
thanks
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Peter,
The import function imports only the git repo, I'm afraid that it is not possible to migrate pull requests this way. The only way to migrate pull requests is using the Bitbucket Cloud Migration Assistant plugin.
However, I spoke with one of our migrations engineers, and there is a workaround available that will allow you to use the current version of this plugin with Bitbucket Data Center if you want to do the migration now.
You can use one of the following two options:
1. You can reduce the number of nodes in your Data Center cluster to 1, and then install and run the Bitbucket Cloud Migration Assistant plugin.
2. You can take a backup of your cluster and create a staging server and run it as a single node instance to migrate with.
If you have any questions, please feel free to let me know.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.