move jira from linux to windows server

Hi!
I can not find an exact answer to my problem hence I ask this question.

The company have decided to move from a linux environment to a windows server 2016 environment and I have to see to that we get both JIRA and CONFLUENCE to work in that new environment. Ican set it up and it works. Have created an empty database with our postgreSQL manager and connected JIRA (first application) to it.
The question is, how do I get all the data we have got in our linux JIRA environment into this physically new server? I have got both the XML backup of the database. I ave got backups of the attachments and index directories and on top of that, I have also got the native postgres backup available.
What happens with paths? Slash instead of backslash for instance?

I also installed a newer version of the postgreSQL. It appears to store data regarding the version in the XML-backup. What happens if that data is overwritten?

Regards

-- Kent Granstrom

1 answer

0 votes

You should be able to import the XML using Admin -> Import.   it's OS and database independent and the standard way to move between servers and database types.

You can simply copy the attachments over.  You don't need the index files - the import will create a new set anyway.

Ok!

Tried that but there appears to be loads of items creating errors when importing such file in the new JIRA instance. katl-commons et.al was causing it to hang and I had to restart from nan empty db. Found a temp(?) solution at Atlassian whereby I ran a script removing the tags and got it working at least to the degree of being able to restore the datafile. Complete or incomplete, that is the question... Feels a bit iffy having to edit an exported backup before it is restorable... 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

53 views 0 2
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