← Articles

Read the snapshot before restoring it

How to assess a recovery snapshot against the reported failure and the later changes a rollback could undo.

In the qvOS recovery study, portal-api.service stops at startup and the systemd journal reports a missing configuration file. The failure follows an update, but the timing alone does not establish why the file is missing. The study compares snapshots; no restore was applied.

Compare the file, then the rest of the system

Check whether the snapshot contains the file at the path reported in the journal. Then identify what the restore operation would replace. For example, reverting a captured system volume could discard a configuration change made later on that volume, while a project directory on a separate volume may be outside the restore scope. Check the actual snapshot and restore target before assuming either is safe.

Choose the smallest repair

If the service points to the wrong path, correct the reference. If the missing file is needed, check that the saved configuration is compatible with the installed service before restoring it. Consider a wider rollback when dependent changes need to be reversed together. After any repair, verify both startup and a request the service is expected to handle.

For basic file operations before working with snapshots, see Copy, move, and remove files.