Is it possible to setup bitbucket from scratch with the same database

I've already a productive version of Bitbucket running. Due to the fact that we had already setup a Stash instance, we've a little bit messy folder structure. It's nothing to worry about but ugly.

Am I able to setup a Bitbucket Server from scratch with the same data (so, without erasing the database)?

1 answer

This widget could not be displayed.

Hi Kai,

Could you please provide further information about how your folder structure looks like? I'm not sure I understand how it got messy.

Either way, please allow me to already suggest something that wouldn't affect your existing instance, so you may test a new install. You may generate a full backup from your existing instance then, in a separate test server, install Bitbucket from scratch and restore this backup to it.

You will find information about Bitbucket backup at https://confluence.atlassian.com/bitbucketserver/data-recovery-and-backups-776640050.html - this documents explains how the backup process works and also presents you with two approaches you can choose to perform it.

Regards,

Gustavo Refosco

First of all an earlier version of Bitbucket failed in recognizing the right "Program Files" folder and created another folder called "Programs". So, we have two folder called "Programs", one of them is the real "Program Files" folder and the other is really called "Programs".
Further down in the Atlassian folder we have three folders called "Bitbucket", "Bitbucket_4.0.2" and Stash. The Bitbucket-Home-Directory is stored in a folder called "StashAppData".
Pretty messy smile

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,315 views 8 11
Read article

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