Migrating MS SQL database to new database server

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

This widget could not be displayed.

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

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

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

245 views 1 3
Join discussion

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