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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,795 views 26 12
Join discussion

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