Start with a full backup and a readiness check before any migration command runs. Preserve configuration files, user data, application data, logs, SSH settings, and network settings on separate storage. Confirm you have enough free disk space, root access, stable connectivity, and a reboot window, because the upgrade can be interrupted by missing capacity or incomplete recovery options.
Why the First Migration Step Is Backup and Readiness, Not Conversion
The first safe move is to establish a recovery path before you touch the operating system. A CentOS 7 migration is not just a package change, it is an availability and rollback problem, so the opening work is to prove you can restore the server, its configuration, and its data if the migration stalls, fails, or produces an unbootable system.
That means treating the source host as a recovery target first. Preserve the system state that matters most: configuration files, application data, logs, SSH settings, and network configuration, then confirm the storage and access conditions needed to recover them quickly if the upgrade path has to be aborted.
What a Proper Readiness Check Must Confirm
A readiness check is the gate that prevents a routine migration from becoming an outage. At minimum, verify free disk space, root or equivalent administrative access, stable network connectivity, and a maintenance window that includes reboot time and post-upgrade validation. If any of those are uncertain, the migration should pause.
Capacity matters because upgrade tools and package transactions need working room, and recovery needs extra headroom for backups and logs. Access matters because you may need to repair packages, restore files, or change boot state after the fact. Connectivity matters because interrupted downloads or unreachable repositories can leave the system in an inconsistent state.
What to Protect Before Running the Migration
The first backup should be broad enough to support a real rollback, not just a partial restore. That usually means separating operating system configuration from application data and storing copies outside the live host. Keep SSH material, network settings, and service configuration together with the data needed to reconstruct the server in the same functional state it had before the migration.
Teams should also document what success looks like before they start. Record the current package set, kernel, mounted filesystems, active services, and any local customizations. Those details make it easier to compare the migrated system against the original and to identify whether a problem is due to the distribution change or to an unrelated configuration drift.
Risk and Threat Considerations
The main risk is losing the ability to recover cleanly once the old platform is modified. Migration failures often come from storage exhaustion, incomplete backups, broken SSH access, or a reboot into a system that no longer starts cleanly, which turns a planned change into an emergency rebuild.
Failure mechanism: The migration proceeds before the backup is verified or before enough disk, access, and network capacity is confirmed, so the team cannot restore state or complete package and boot repair when the upgrade path breaks.
Impact: The server can become unavailable, configuration can be lost, and recovery time expands because the team must reconstruct the system under pressure rather than roll back from a known-good copy.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
CIS Controls v8 and NIST CSF 2.0 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.
| Framework | Control / Reference | Relevance |
|---|---|---|
| CIS Controls v8 | CIS-17 — Incident Response Management | Migration rollback and recovery planning depend on an executable recovery process. |
| Recommendation — Define and test rollback steps before changing the host OS. | ||
| NIST CSF 2.0 | RC.RP-01 — Recovery Plan is executed during or after a cybersecurity incident | A failed migration requires a workable recovery path and execution plan. |
| Recommendation — Validate rollback procedures and recovery ownership before the upgrade begins. | ||
| ISO/IEC 27001:2022 | A.5.30 — ICT readiness for business continuity | OS migration readiness depends on continuity planning and recovery capability. |
| Recommendation — Confirm business continuity and restoration readiness before migrating the server. | ||
Practitioner Guidance
What to prioritize: Validate restoreability before you validate upgrade compatibility. A backup that has not been tested for file recovery and boot recovery is only an assumption, not a control.
What to verify: Confirm that the backup includes the exact files needed to re-create service identity, network reachability, and administrative access. If those elements are missing, the migration plan is incomplete even if the data backup itself succeeded.
Decision rule: If you cannot state where the rollback image lives, how long restoration will take, and who can execute it, do not start the migration command.
Practitioner takeaway: The first migration decision is not which command to run, it is whether you can still recover the server after the command has changed the system.
Related resources from NHI Mgmt Group
- How should IT teams choose a Linux distribution for enterprise endpoints and servers?
- What should security teams do first when a Linux server may be exposed to the xz-utils backdoor?
- How should teams reduce the risk of orphaned service accounts and stale tokens?
- How should security teams evaluate authentication for a server-first React app?