Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we still use the local Smart Mirror server if it loses connection with the Bitbucket cloud?

Lloyd Langley July 19, 2019

We are looking to migrate our self-hosted Bitbucket (and Jira and Confluence) to the Atlassian cloud.  We are looking at having a local Smart Mirroring server and several questions are being asked.  Can you help?

1. Can we backup the Smart Mirror server and use it to recover in the event of a serious data loss?

2. If we lose connectivity between the Bitbucket Cloud and the local Smart Mirror server, can we still fetch from the Smart Mirroring server and continue working?

Many thanks for your advice.

Lloyd

1 answer

1 accepted

0 votes
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2019

Hello @Lloyd Langley,

Thanks for reaching out!

Can we backup the Smart Mirror server and use it to recover in the event of a serious data loss?

The Mirror stores all synchronized repositories locally just as a normal Bitbucket Server instance, so this article somewhat applies to a Mirror instance too. Specifically, DIY backup should work just fine.

If we lose connectivity between the Bitbucket Cloud and the local Smart Mirror server, can we still fetch from the Smart Mirroring server and continue working?

Unfortunately, not really. Mirror delegates authentication and authorization to Bitbucket Cloud, so whenever a user is trying to pull from the Mirror, it makes a call to the Cloud to authenticate and authorize the user against the repository in question. There's a bit of caching involved, so some requests might be served for a short time (configurable) after Mirror becomes offline, but in general the Mirror doesn't store or sync user/repository permissions and relies on the upstream.

Hope this helps. Let me know if you have any questions.

Cheers,
Daniil

Lloyd Langley July 23, 2019

Hi @Daniil Penkin,

That is an excellent answer and just what I needed to know.  

Many thanks for you spending your time answering.

Atlassian users are lucky to have such a good user group.

Best regards

Lloyd

Like Daniil Penkin likes this
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 23, 2019

No worries, always happy to help :)

Thanks for the kind words!

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events