Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Wanting to migrate bitbucket repositories between a Bitbucket Server and DC instance

colin mcdermott March 12, 2025

We are trying to consolidate 2x bitbucket instances, 1x is a server instance the other is Data Center 

(this is because on Jira Cloud, we can only have one application tunnel from Jira Cloud to bitbucket). 

Naturally we can git clone existing repositories, create an empty but unique new repository on the DC instance and push our code there. 

 

However we want to preserve PR history and pull requests. Is there an easy/better way to do this? 

1 answer

1 vote
Evan Slaughter
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2025

Hey Colin!

So the way you'd want to knock this out would probably be through the import/export feature we have here:

That functionality is the easiest way to get two Bitbucket instances' data carried over from one instance to another. I think this functionality was something exclusive to Data Center and not available on Server back when both were supported, and so I'm not 100% sure if it would be immediately available on your Server instance.

  • If you find you can't utilize the export on the Server instance: assuming you're planning to use the existing DC instance moving forward, what you could actually do is generate an evaluation license for Bitbucket Data Center to plug into the Bitbucket Server instance, which should unlock this functionality and let you successfully export what you'll need so you can import it into the new one.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events