How do I migrate my Jira database from jira server to jira cloud

I upgraded to jira 7.3.6, follow https://confluence.atlassian.com/jirakb/migrating-from-jira-server-to-jira-cloud-779160826.html. 

The import process was successful. I need to import my users and all related info stored in the jira server database to the cloud. 

I logged a support ticket with atlassian but I am afraid I may not get a timeous response before my change window for the migration expires.

1 answer

0 vote

If the import was successful, you have already got "users and related info in the server database to the cloud".

I'm not sure what you are looking for here?  If you've followed the doc, there's nothing more to do.  What appears to have gone wrong that meant you reached for support?

refer tohttps://confluence.atlassian.com/adminjiracloud/importing-issues-776636788.html. I eventually found the entities.xml and activeobjects.xml in the database backup zip file, I unzpped the db backup and created a new backup file as instrcted in the url above. 

The import took a while but ended up with the error 

Import error
There was an error importing file jira-data-20170528.zip: "There was an error parsing the entities.xml file: An invalid XML character (Unicode: 0x4) was found in the CDATA section.". Please try again or choose a different file.

I see many CDATA entries in entities.xml, the backup was created using jira backup so this is wierd. Is there a way I could rather do a mysqldump and import that in jiracloud?

 

So when you said "The import process was successful" in your original question, that was totally wrong.

That error is quite common when using certain databases and trying to move to others, and there's a standard fix for most cases.  Have a look at https://confluence.atlassian.com/jira/removing-invalid-characters-from-xml-backups-12079.html

A MySQL dump would be useless to Cloud even if you had got any access to it (you don't), Cloud runs on PostGreSQL.  You need to do this with the xml, as documented.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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