Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

mirror only some repositories

Thomas April 12, 2017

Hi,

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.

Tom

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 12, 2017

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 :)

Cheers,

Ana 

Thomas April 18, 2017

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

Thomas April 20, 2017

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
TAGS
AUG Leaders

Atlassian Community Events