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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Migrate from Stash to Bitbucket server

We are currently using self hosted Stash (3.4.0). Planning to migrate it to the latest version of Bitbucket (5.5). We also would like to migrate the database from SQL server 2008 to Oracle along with this move. What is the best way to migrate Stash to Bitbucket with all existing data, history, comments and the users?

1 answer

0 votes


Moving from Stash to Bitbucket Server is a simple upgrade that doesn't require a migration as such. You can upgrade from any version of Stash directly to the latest version of Bitbucket Server, as described in the Bitbucket Server upgrade guide.

You can use the database migration wizard to migrate from SQL Server to Oracle. Details can be found here.

It doesn't matter whether you first do the database migration or the upgrade - the important bit is that you need to ensure that the versions of SQL Server and Oracle both need to be supported in the version of Stash or Bitbucket Server you're using to perform the migration.



Premier Support Engineer


We are upgrading from stash to bitbucket server.  Glad to hear that it is going to be easy.  But none of the tutorials cover:


Stash is on an ubuntu server, the new bitbucket server is on a windows machine.

How to we move the files from the ubuntu server?  As in, what is the process of stopping the service and copying files (which files, etc)


How does one perform a backup or a hotcopy.





@Joshua White  Just that you know:  Bitbucket server is not available for purchase anymore.  It has been discontinued.  See

That's interesting, but we have already purchased it and received licensing (must have been just before the cutoff).


We have used the bitbucket/stash backup client to copy the stash instance.  It is now a *.tar file.  the backup file has been placed on the new server, but I'm looking for the steps on how to restore the *.tar file and then upgrade it to bitbucket.


The restoration process assumes an empty bitbucket installation.  Should I just install a blank stash instance, then restore the backup into the empty instance?

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,810 views 10 16
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