Migrate from Stash to Bitbucket server

GLIT November 5, 2017

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
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2017

Hi,

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.

Cheers,

Christian

Premier Support Engineer

Atlassian

Joshua White February 9, 2021

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)

OR

How does one perform a backup or a hotcopy.

 

-Regards,

 

JW

marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 9, 2021

@Joshua White  Just that you know:  Bitbucket server is not available for purchase anymore.  It has been discontinued.  See https://www.atlassian.com/software/bitbucket/download

Joshua White February 12, 2021

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?

Joshua White November 21, 2021

Any additional reply on this?  We are going to attempt the stash upgrade again with the intent of upgrading it to the bitbucket cloud.  

Same issue though, not alot of tutorial on how to do this from a an ubuntu target

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events