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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

102 views 0 5
Read article

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