Need clarification on migrating JIRA to new server

Joe Schmoe August 2, 2013

I run 64-bit version of JIRA 6.0.1 under Windows 7 x64. Database is hosted by SQL Server 2008 running on the same instance of Windows.

I need migrate JIRA to another instance of Windows and database will also be hosted on that other Windows instance.

I read this documentation article: https://confluence.atlassian.com/display/JIRA060/Migrating+JIRA+to+Another+Server and I am not sure why it needs to be so complicated.

Documentation says that I need to

1) backup JIRA database to XML backup

2) backup JIRA home directory,

3) install new JIRA instance

4) point new instance home directory to restored backup of old JIRA home directory (at what step of setup and how exactly am I supposed to do that? I couldn't find any details)

5) Connect new JIRA instance to empty database

6) Restore XML database backup.

Why can't I just to this:

a) Backup SQL Server database on old server and restore it on new server

b) Install JIRA on new server and connect it to the database I restored in previous step?

3 answers

1 accepted

0 votes
Answer accepted
Joe Schmoe August 18, 2013

Well, approaches a) and b) from my original post didn't work. I had to install to new database and then restore from XML backup.

Charlie Misonne
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 8, 2016

any idea why it Did not work? For Confluence the migration process is similar to what you describe https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html

Like Ann Kristin likes this
2 votes
LucasA
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, 2013

Hi Joe,

Both methods will work. The approach we suggest, though, consider that you might be migrating JIRA from a platform to another, by example, getting rid of SQL Server and going to MySQL, or even replacing Windows for a Linux server. Indeed, backup/restore a database may sound hard for end-users, rather than create a XML in JIRA and restore in another system.

Best regards,
Lucas Timm

Harry Chan
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 8, 2013

Problem with XML backup is for large-ish instances (especially with attachments and what not) it could get stuck for hours and sometimes crash. Just amke sure it's not the case here.

Charlie Misonne
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 8, 2016

does this mean using the same OS version and same Database Version does not require the more complex process and database export/ import + moving the install and home folders are enough? I tried the 'a and b' method for Confluence as described [here|https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html] and it works perfectly. Why wouldn't it work for Jira?

1 vote
Mike cuff August 8, 2013

Well, you should probably get a new server first..

example of one that will hold enough more so then you will ever need...

http://boss-tek.com/shop/hot-deals/ibm-system-x-7143d1u-4u-rack-server-4-x-intel-xeon-e7-4850-2-ghz/

Suggest an answer

Log in or Sign up to answer