Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Upgrading psql 9.5 to 9.6 for Jira

I am unfamiliar with steps to follow when upgrading a database from 9.5 to 9.6, but I am operating a test environment until I understand the process.  I admin Bamboo, Bitbucket, Confluence and Jira servers.

Can anyone step me through the process?

Should the database just be upgraded from 9.5 to 9.6, with no additional changes to the data?

Should the databases be exported from 9.5 and imported into a 9.6 server?

Does data require modification to be compatible with the applications;

export from 9.5, modify, import to 9.6?

 

Thank-you in advance for assistance provided.

1 answer

0 votes
Andy Heinzer Atlassian Team Mar 29, 2019

Hi Kyle,

Each database can have a slightly different way to upgrade it.  I recall in my MS SQL administration days, that you could just take a database backup from say SQL2005 and restore it inside a then new 2008 SQL version and SQL would take care if the changes for you.  Most database vendors have some means to upgrade your data to their latest version, but not necessarily downgrade, so make a backup first.

I would also check to make sure that your Jira version supports the newer 9.6 database version.  You can check this in the corresponding Supported platforms page.  Honestly, I think you should be fine there, at least all the currently supported versions of Jira 7.4 and higher support Postgresql 9.6.x.

In the case of Postgresql, there are 3 different methods for updating your database.  Check out https://www.postgresql.org/docs/9.6/upgrading.html for more details.

The method I see most people interested in is actually the 2nd one, Upgrading Data via pg_upgrade.  Which has it's own documentation on how to use it in https://www.postgresql.org/docs/9.6/pgupgrade.html

There are a number of steps there, but it does try to offer step-by-step instructions on how you can upgrade your postgresql database.   I would like to add that it's very important to make sure that you stop Jira before trying any of these database upgrade steps.   Once the database it upgraded, you can then start Jira again.  Provided the database server is at the same address and the database has the same name, Jira should be good to go from there.

I hope this helps.

Andy

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

225 views 1 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you