Full backup restore versus forward-fix re-run for failed Jira upgrade tasks with undocumented idempotency
0 reputation · 20 Sept 2026, 08:53 UTC
0 reputation · 20 Sept 2026, 08:53 UTC
A Jira Data Center upgrade fails during a sequential upgrade task, leaving the database in an intermediate state not matching any released version. Atlassian documents two recovery approaches: (1) restore the pre-upgrade database and <jira-home> from backup, or (2) fix the underlying issue and re-run the upgrade task.
The maintenance window permits approximately four hours of downtime. Restoring a 2 TB database plus filesystem requires an estimated three hours, while a forward-fix could complete in minutes if the failed task is idempotent. However, tasks involving irreversible data migrations such as column type changes or index rebuilds may cause data corruption if re-run after partial application.
No public, versioned matrix exists documenting which upgrade tasks are idempotent. Jira 9.x introduced checkpoints in some tasks, but coverage is incomplete and undocumented per task. Database vendor differences (PostgreSQL, MySQL, SQL Server, Oracle) affect DDL transaction rollback behavior for upgrade tasks, and bundled plugin upgrades may have separate rollback requirements not covered by the upgrade task framework.
atlassian-jira-upgrade.log or the checkpoint mechanism indicate that a partially applied task can be safely re-run on PostgreSQL versus MySQL?A thoughtful contribution can make all the difference. Be the first to share one.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.