Moving PostgreSQL database from a server to db-hotel

I am running a JIRA instance (5.2) with an external PostgreSQL database (8.2) on a separate server. Both the db-server and the PostgreSQL version is near or at EOL and I want to move the database to a brand new PostgreSQL database-hotel.

Are there any best practices for this? Could I just follow the instructions in the Switching Database documentation? This is a two-staged activity as I see it, both upgrade the database version and move to a new server.

Any recommendations on what the order should be?

1 answer

1 accepted

1 votes
Timothy Chin Community Champion Mar 25, 2013

You'll have to read the Postgress documentation on which to upgrade first. After all, you want to upgrade the database & the server right and not JIRA?

After you've upgraded both, you then try to connect back JIRA to the DB. You may not even need to switch database.

What I really want is to move the PostgreSQL database away from the outdated database server it sits on today, so it is actually the old hardware I want to get rid of. The new server already hosts a newer version of PostgreSQL. So my question is if I should upgrade PostgreSQL on old server to the same version first and make sure it works with JIRA and then move the database to the new server (which now has the same PostgreSQL version).

Hmm, it feels that I am answering my own question now :-) That should probably be the migration path!

First upgrade the old hardware, verify and the switch server and verify again!

Timothy Chin Community Champion Mar 25, 2013

And you're right! You've answered your own question. Because after you've confirmed that JIRA works with the new Postgres, all you need to do is move the data over to the new server and point JIRA there.

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 ...

2,770 views 11 18
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