Migrating MS SQL database to new database server

Bih Luh Hew January 26, 2014

Hi,

I am planning to migrate all our Atlassian MS SQL 2008 R2 databases ( Jira, Confluence, Jira, FishEye, Bamboo) to new MS SQL 2008 R2 MS SQL server. No version change in DB at all.

I only manage to find following KB on moving confluence, jira and bamboo database to new location:

Confluence: https://answers.atlassian.com/questions/97641/moving-a-jira-db-to-another-sever

jira: https://answers.atlassian.com/questions/97641/moving-a-jira-db-to-another-sever

Bamboo: https://confluence.atlassian.com/display/BAMBOO/Moving+your+Bamboo+data+to+a+different+database

I read some on the KB article and notice they are more on migrating application or migrating DB to different database platform. Wondering if below steps are aplicable to all Atlassian databases?:

1. Stop application service

2. Restore database to new location

3. Change connection string

4. Start application service.

Regards,
Bih Luh

1 answer

0 votes
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2014

Hi Bih Luh,

Just follow the instructions in this KB article for JIRA:

https://confluence.atlassian.com/display/JIRA/Switching+Databases#SwitchingDatabases-sametype

For Bamboo simply follow the instructions in the link you already found.

For Confluence read these instructions:

https://confluence.atlassian.com/display/DOC/Migrating+to+Another+Database

Most importantly : try this on a test system first!

Best regards,

Peter

Bih Luh Hew January 26, 2014

Thanks Peter,

However the solution are way too complicated. Do we have any solution to migrate database by simple changing the connection string ?

By the way I am still looking migration steps for FishEye and Crowd databases.

Regards,
Bih Luh

Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 26, 2014

Hi Bih Luh,

It's complicated because those applications are pretty complicated :)

You could try to migrate your data using DB tools and then simply change the connection string but I would advise you to test this very thoroughly on a test system before doing this on a production instance.

Best regards,

Peter

Suggest an answer

Log in or Sign up to answer