mirror only some repositories


is it possible to mirror only some repositories by using bitbucket smart mirrors?

We look for a solution to secure our repositories. Most repos are used by only internals some are used also by external partners.

The idea was to mirror only repos for external partner.


Any suggestions? Thank you in advance.


1 answer

0 votes

Hi Thomas! Yes, that's possible. An approved mirror will have access to all projects and repositories in the primary Bitbucket Data Center instance, however, you'll be able to specify which projects you want to mirror. Note that when using smart mirroring you won't be able to specify individual repositories (you can only specify projects),  so as far as you have your external partners' repos grouped in Projects separated from your internal repos, everything will be fine.

For more info you can read Decide which projects to mirror and How secure is Smart Mirroring?

If this answer helped you, please consider marking it as accepted so it can benefit the rest of the Community :)



Hi Ana,

thank you! External developers (clients) not the Smart Mirror push changes against the primary Bitbucket data center. The case we want to hide the primary instance (no internet access) it would not work.

Is it possible that the mirror forwards pushes and not the client?

Ciao Thomas

Hi Ana,

we don´t want to make the primary visibly in the internet. So changes need to push to the mirror. I understood that the mirror does not accept pushes.
See the illustration on: https://confluence.atlassian.com/bitbucketserver/smart-mirroring-776640046.html

So at the moment the most secure solution is to setup two bitbucket instances: one in the intranet (for employees) and one in the internet for business-partners.

What do you think?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

418 views 5 9
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