Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira and Confluence MySQL to MSSQL - the easy way..

Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 2, 2018

Recently i migrated a testing instance of Bitbucket from Postgres to MSSQL, and this move was a real breeze. Login to BB, click migrate data, enter credentials, do some small tests and BOOM data was migrated without issues and minimum downtime.

However when it comes to Jira and Confluence it's more of a complete reinstall, with all things like copying attachments, application links, reinstalling plugins (sometimes running versions that are no longer the version on the market place, meaning manual installs), customization of files for reverse proxies.

I keep asking myself, why can't it be as easy as it was with Bitbucket? What stops us doing a mysqldump, run a conversions script that creates a MSSQL dump that we can later just import, change the database driver and credentials and be done?

My main reason to ask is because i fear an as extensive rollback as the "migration" was, which would render our systems down if it turns out MSSQL would create performance issues and the fear that we can never get back again. Sure things can be tested in it's essense but simulating the same load our production systems have is not a small task, the proof will always be in the pooding.

Questions:

Have anyone tried to simply convert the dumps and change the database configuration? What issues did you run into? Can it be done? What stops us from doing this?

1 answer

0 votes
Moses Thomas
Community Champion
August 2, 2018

@Jonas AnderssonWe have documentations that  will  help you  with such issues

see articles  here  this will give you  some insights, there could be challenges  on the way  but it can  be done.

  1. https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html
  2. https://confluence.atlassian.com/adminjiraserver073/switching-databases-861253056.html

Suggestion, this is why  it is very  Good to  have test environment  so  that  you  can  test  it and see the outcomes  before implementing it  in  production  environment.

 

Best!

Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 2, 2018

Sorry if i was unclear in my questions.

This was exactly what i didn't want to do, and exactly why i stated that this was not the case with Bitbucket.

I suggested to transform database dumps and just change the db connector, in order to be able to do fast rollbacks, in case it does not scale after testing when tossed into production.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events