Migrate JIRA from linux to windows

Hi all,

I have to move one JIRA instance from a linux server to a windows server. I was thinking in a staging server (moving the install folder, the data folder and the database).

If I have a JIRA installed in the new server (same version), can I move the data folder and the database, configure the bin and conf folders and start the migrated JIRA?

Thank you in advance.

3 answers

1 vote
Shayne Covey Atlassian Team Feb 02, 2015

What you're describing is documented here: Migrating JIRA to Another Server. One difference is that the documentation advises that you take an XML backup of the original JIRA system, start the new JIRA server while connected to an empty database, then use the 'Restore from Backup' feature available in JIRA administration to bring over the contents of your database.

Thanks Shayne. Related to this,

  • Do I need a second JIRA instance, with it's server id and it's license? Staging Server migrates the server id to the other server with it's licences.
  • If I restore the XML backup, does the indexes of the database will be the same? I mean to keep the attachments.

 

Thank you in advance.

0 vote
Shayne Covey Atlassian Team Feb 09, 2015

Since I'm a little unclear on what your goal is, I'll try to answer your first question two ways:

  • If you're actually moving the JIRA instance to a new server (meaning there will only be one instance of JIRA up and running), then you should be able to keep the same server ID and license.
  • If you're setting up a staging/development instance (meaning you'll have two instances of JIRA running in parallel - one the production/live instance, the other for testing/development), then you will need to generate a staging/development license at https://my.atlassian.com/, as described in this link.

JIRA's indexes and attachments are stored in the JIRA-HOME directory. You will need to migrate that directory and make sure that your JIRA-INSTALL/atlassian-jira/WEB-INF/classes/jira-application.properties file points to it.

I'm trying to setup a staging server and installing JIRA with a Dev license went fine, however if I copy over the home directory and start staging JIRA, will my plugins attempt to start using the production license? Will this in any way affect the production Jira?

 

It will try to use the licence, but that won't affect your production rig.

So one has an opportunity to apply dev license licenses to plugins as without interfering with production. Good to know.

Thanks 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,313 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot