How to setup Bitbucket Server as Cold standby?

I'm looking for documentation on how to set up a cold standby Bitbucket Server instance.

Any pointers?


1 answer

Other than the 'use data center' answer, you can attempt to use the same approach that it uses. You have to have the database accessible from both hosts and you have to synch the data directory.  Next you have to work out a scheme (dns or load balancer)  to have the traffic redirected.  Then fully test. 

Thanks Rich, I can synch the data directories, no bother. Am wondering though about connecting to Oracle. I've the active Bitbucket server up, however when attempting to migrate the database to Oracle on the standby Bitbucket box, I'm seeing the error: "The target database contains tables whose names collide with Bitbucket's tables. Please migrate to a clean, empty database." I'm missing something, certainly..

Have a look at (scroll down). The high availability for the database is handled by Oracle. The active and cold standby have to be identical in every way including that they connect to the same database and access the same data directories. You can do the data directories via network storage (or synch-ing them), the database by using 'database clustering technology' the page suggests.

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,821 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