Deployment approach

Jira database migration and PostgreSQL upgrades

Move Jira's database or upgrade PostgreSQL through a rehearsed plan that protects issues, attachments and the team's daily work.

A deployment approach for discussion. The scope, product fit and acceptance checks are agreed for each project.

← Stories, approaches and scenarios

The challenge

Build around the work.

A Jira environment needs a database move or PostgreSQL upgrade while people continue to rely on its issues, workflows and integrations. The application, database, attachments and installed apps need a coordinated plan, with a supported destination and a clear way to recover the service.

How the solution fits together

Jira and its files → release-specific database compatibility checks → rehearsed migration or PostgreSQL upgrade → verified application service

Products and software

Atlassian Jira ↗
Use the deployed edition's version-specific platform guidance to select the database, Java runtime and compatible application components. A database upgrade alone does not make an unsupported Jira Server edition supported.
PostgreSQL ↗
Check source and target versions, extensions, roles, encoding and collation before choosing a major-version upgrade method for the selected Jira release.
Jira database-engine migration ↗
Use Jira's supported migration procedure when changing database engines. Protect the matching application files, attachments and connection configuration.
PostgreSQL major-version upgrade ↗
Choose and rehearse a compatible logical dump/restore or pg_upgrade procedure. This is a separate decision from changing database engines.

What we do

  • Agree a supported application/database destination and a complete recovery set.
  • Rehearse the full Jira service, including files, attachments, installed apps and integrations.
  • Switch within the agreed window, check representative user work and hand over operation.

Delivery in practice

  1. Agree a supported destination - Record the Jira edition and release, database engine and version, runtime, installed apps and integrations. Check Atlassian's compatibility guidance for the intended application release. Plan application and database changes separately where the supported route allows it.
  2. Rehearse with a recoverable copy - Protect a consistent set of the database, Jira home files, attachments and required configuration. Restore them into an isolated test environment with outbound integrations controlled. Rehearse the chosen engine-migration or PostgreSQL upgrade method and time the work against the agreed change window.
  3. Switch during the agreed window - Pause application writes and relevant jobs, take the final consistent recovery copy and carry out the rehearsed steps. Update the database connection and required application configuration. Test the service before reopening access, then watch errors and integration behavior during the agreed observation period.
  4. Return a usable service to the team - Have representative users check their work and retain the acceptance results. Document the resulting versions, maintenance sequence, backup schedule, restore procedure and owners. Keep the prior recovery copy for the agreed retention period.

What this work delivers

  • The migrated or upgraded Jira service within the agreed scope
  • Compatibility, recovery and application-acceptance records with maintenance instructions

Why it matters

Keep the team's history and working routines usable while making the application and database easier to maintain. A rehearsed sequence makes the change window and recovery decisions clearer to the people who depend on Jira.

How we verify it

Confirm the supported Jira and database combination, then reconcile representative issues, comments, users and attachments. Test sign-in, permissions, searches, workflow transitions, installed apps, jobs and integrations. Compare agreed queries and application response with the baseline. Demonstrate a restore of the complete service, including its files, before closing the change.

Rollback and recovery

Define acceptance and rollback decisions before reopening Jira. Recover the matching application files, configuration and database together using the rehearsed procedure. If people have written new data since the switch, pause the service and follow an agreed reconciliation or forward-recovery plan; returning to the old copy alone would omit those changes.

Planning references

Discuss a similar project →