Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Access BitBucket erver database with new installation

I have Bitbucket server running on VMWare Windows Server 2012 R2. The VM is unable to start.

The database Bitbucket Server is using is on a different host and the database is accessible using MS SQL Manager.  

How can I reinstall Bitbucket server on a new host and access the existing Bitbucket database.



Bitbucket Server not only needs access to the database, but also its home directory, which is typically on the local machine where Bitbucket Server is installed - do you have access to that? If not, you're unfortunately out of luck.



Premier Support Engineer


The VM that the Bitbucket server was running on will not start at all so I don't have access to the directory Bitbucket server was installed on.

However I do have a backup of the virtual machine which is an older copy of what was running on the virtual machine the crashed.

The only other possibility is to try and use Veem to access the original data.

does the data have to be the most current? or will an old copy of the data work?



Hi Rod,

Unless you have a Bitbucket Data Center license (which includes the Integrity Checker functionality), I'm afraid the home directory and the database must be backed up at the same time because otherwise the data will be out of sync.



Premier Support Engineer


I found a way to restore the original Virtual Machine the Bitbucket server was running on. 

Once I was able to the VM running on new hardware the issue was resolved.


The fact that I was able to move the VM Bitbucket server was running on to a system that had the correct resources on it, allowed me to pickup from the point the VM failed.

This allowed me to continue with no impact on the Bitbucket server and the repos on my client computer.

At the end of the day I got lucky. Going forward I need to have a "standby" VM that I can start when the primary fails. (along with backing up the database of course.




Log in or Sign up to comment
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,151 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you