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

This widget could not be displayed.
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.

This widget could not be displayed.

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.

This widget could not be displayed.
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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
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