Migrating repos between Bitbucket hosts

I need to migrate some repos from a testing installation of Bitbucket Server to a Production instance, but haven't found anything via googling to walk me through the process. The Bitbucket Servers are both the same version. I know I can easily migrate just the repo itself over to the new instance, but I would like to be able to also migrate the pull requests, permissions, project, etc. Is there any way to do so?

 

1 answer

0 votes
Jeff Thomas Atlassian Team Jan 14, 2016

Hi Matt,

The best way to accomplish this would be to do a full backup of the test instance and restore to the production one. This would only work if the production instance was fresh and all data could be replaced with what is on the test instance. So, I'm not sure if that's possible in this scenario. More information on the backup and restore process can be found at https://confluence.atlassian.com/bitbucketserver/data-recovery-and-backups-776640050.html

There is also an open feature request to allow you restore individual projects or repositories being tracked at:

https://jira.atlassian.com/browse/BSERV-4586

Feel free to watch and/or vote on that issue to stay updated and show your interest in having this option.

OK - I will vote on the issue, but in standard Atlassian fashion, I'll assume it will never be implemented ;)

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

676 views 0 4
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot