Join our Newsletter — 33% off our NHI Course
Home› FAQ› Governance, Ownership & Risk› What should teams do first before upgrading Ubuntu…
Governance, Ownership & Risk

What should teams do first before upgrading Ubuntu 20.04 to Ubuntu 22.04 on a production system?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 26, 2026 Domain: Governance, Ownership & Risk

The first step is to take a full backup or snapshot before making any system changes. That gives you a recovery path if package upgrades fail, a service breaks, or the machine becomes unbootable. For cloud or virtual environments, a complete snapshot is the safest starting point because it lets you roll back the whole instance, not just individual files.

Why a Full Backup Comes Before Any Ubuntu Release Upgrade

Before moving a production host from Ubuntu 20.04 to 22.04, teams should treat backup and rollback readiness as the first control, not a later precaution. A release upgrade can affect packages, kernel state, boot behavior, services, and configuration compatibility at the same time. The point of the first step is to preserve a known-good recovery path before any change can widen the blast radius.

This matters most on production systems because the failure mode is not just a bad package install. A partial upgrade can leave the machine technically reachable but operationally degraded, which is often harder to recover than a clean outage. A full backup or snapshot gives you a way to restore state even if the upgrade introduces boot failure, dependency breakage, or service regression.

For virtual machines and cloud instances, a whole-system snapshot is usually the strongest starting point because it captures the disk state as a unit. File-level backups remain useful, but they do not always restore the exact runtime condition needed to undo a failed distribution upgrade. On physical hosts, the equivalent discipline is a verified backup that can be restored quickly enough to meet the service’s recovery expectations.

What “First Step” Means in a Real Production Change Window

The practical meaning of “first” is that no upgrade action should begin until rollback is real, accessible, and tested enough to trust. That includes confirming where the backup lives, how long restoration would take, and whether the snapshot or backup covers the full system volume, not only application data. If the system is mission-critical, the change should not proceed until the restore path is clear to the people who would need to execute it.

Teams should also separate backup creation from backup validation. A backup that exists but cannot be restored is only documentation of intent. Before the upgrade window, confirm that the recovery point is recent, complete, and compatible with the restore target so the team does not discover a gap after the system is already unstable.

Why This Step Reduces Upgrade Risk More Than Any Other Early Action

The first safeguard is about limiting consequence, not preventing every possible failure. Ubuntu release upgrades are generally routine, but production systems are sensitive to kernel changes, package transitions, local configuration drift, and third-party dependencies. A backup or snapshot does not prevent those issues; it keeps them from becoming irreversible.

That is why the recommended order is: preserve state first, then change the system. Once the recovery baseline exists, teams can proceed with checks such as available disk space, package health, service dependencies, and maintenance-window readiness. If those checks uncover a problem later, the saved state turns the issue from a long outage into a recoverable event.

Risk and Threat Considerations

Upgrade failures on production hosts can create both availability risk and recovery risk. The most common problem is not malicious activity but a change that leaves the system in an inconsistent state, with services down, boot blocked, or data partially migrated.

Failure mechanism: Package transitions, kernel updates, or configuration changes can break dependencies or boot paths, and without a complete rollback point the team may have to repair the host manually under outage pressure.

Impact: Recovery time increases sharply, service restoration becomes less predictable, and the team may be forced into partial rebuilds or emergency workarounds instead of a controlled rollback.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8, NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS-11 — Data RecoveryRelease upgrades need a restore path before change.
Recommendation — Verify restore coverage and test recovery before upgrading the production host.
NIST CSF 2.0RC.RP-01 — Recovery Plan is executed during or after an incidentRollback planning is the core control when an upgrade fails.
Recommendation — Document and rehearse the rollback plan before the upgrade window.
NIST SP 800-53 Rev 5CP-9 — System BackupA full backup or snapshot is the prerequisite recovery control here.
CP-10 — System Recovery and ReconstitutionThe question is about having a working path back after a failed upgrade.
Recommendation — Create and validate a complete backup or snapshot before changing the system. Confirm the system can be restored or reconstituted from the pre-upgrade state.
ISO/IEC 27001:2022A.8.13 — Information backupProduction OS upgrades require backup coverage to preserve recoverability.
Recommendation — Ensure backup scope and restore ability are confirmed before the release upgrade.

Practitioner Guidance

What to verify: Before upgrading, confirm that the backup or snapshot is complete, recent, and restorable on the exact production workload you plan to change. For cloud or virtual systems, prefer a full instance or disk snapshot when the platform supports it, because that gives you the cleanest rollback boundary.

Decision rule: If you cannot state who will restore the system, from what recovery point, and within what target time, the host is not ready for a production release upgrade. Treat that as a change-readiness failure, not a backup preference.

Practitioner takeaway: The upgrade itself is rarely the first risk, the lack of a dependable rollback path is. Teams should not start a production Ubuntu release upgrade until they can recover the whole system, not just its files.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 26, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org