Can we setup a two-way mirror for a repository between Bitbucket Cloud and Bitbucket Server?

We have an offsite contracting team using our Bitbucket Cloud instance to connect to a repository.

We'd like our onsite employees to only use Bitbucket Server (for ease of administration).

Is it possible to mirror a repository between the two locations to keep them in sync?

We'd like to make commits/branches/pull-requests in either location.

Is there another option available to us we're missing?

2 answers

There are multiple ways of replicating git repos between instances, one of the best probably is the new BB feature "Smart Mirroring". However, I do not know any add-ons or feature that will let you do PRs between 2 BB instances (not minding that one is Server instance and one Cloud instance). Maybe Atlassian will know, try opening up a support ticket against them (support.atlassian.com).

This is not correct. Smart Mirroring is for multiple instances of Bitbucket Server. He specifically asked about Server <-> Cloud where the cloud is Atlassian's instance. Nothing I've read suggests Smart Mirroring would support this. And besides, it requires a Data Center license. Which is out right laughable.

I too wish to now how to easily do this. I'm quite amazed it isn't built into either product. GitLab has this feature already. This is frustrating.

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...

704 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