About migration from MySQL to PostgreSQL

Sergey Manokhin July 6, 2015

Hi!

How i can migrate from jira 4.4 with MySql to jira 6.4 with PostgreSql?

Thank you!

5 answers

1 accepted

2 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
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.
July 8, 2015

This seems a known issue. Try the resolution at https://confluence.atlassian.com/pages/viewpage.action?pageId=389285646

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 6, 2015

First, think of this as a two step process:

  1.  Upgrading JIRA (no change of database) - see https://confluence.atlassian.com/display/JIRA/Upgrading+JIRA
  2. Changing the database - see the database parts of https://confluence.atlassian.com/display/JIRA/Migrating+JIRA+to+Another+Server (it's basically down to "export data, point JIRA at new empty database, import data", but you need to check over all the steps in there)

You may well do both at the same time, but I'd recommend a logical split so that you can complete one safely before starting on the other.

0 votes
Sergey Manokhin July 7, 2015

Hey!!! Anybody can answer to me?

0 votes
Sergey Manokhin July 6, 2015

Ok. I followed this instruction but i constantly have error: (ERROR: invalid byte sequence for encoding "UTF8": 0x00).

1) I backup my data (xml file) from JIRA 4.4 with MySQL DB. — OK

2) Install JIRA 6.4 with MySQL. — OK

3) Restore data from xml backup. — OK

4) Backup data (xml file) from new JIRA 6.4 with MySQL DB. — OK

5) Install PostgreSQL 9.3 (supported by jira). — OK

6) Stop JIRA 6.4. Delete dbconfig.xml. Start JIRA 6.4.

7) Configure connection with PostgreSQL DB. — OK

8) On next configuring step i choose "Import data". — OK

9) Type backup file name. Insert license code. Start restore. — OK

10) I see parsing process. After few seconds i getting error message.

 

Any ideas?

0 votes
Jobin Kuruvilla [Adaptavist]
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.
July 6, 2015

Check out https://confluence.atlassian.com/display/JIRA/Switching+Databases

Make sure the DB versions are supported.

Suggest an answer

Log in or Sign up to answer