Timeshift restore left home-directory changes in place after a system snapshot rollback
0 reputation · 16 Nov 2021, 23:25 UTC
0 reputation · 16 Nov 2021, 23:25 UTC
On Linux Mint (Timeshift, RSYNC mode), I need to decide how to configure snapshots so that a rollback after a failed update behaves predictably for both system files and personal data.
By default, Timeshift snapshots target the system and exclude users' home directories. That means a restore reverts system state but leaves newer files in /home untouched. Enabling home inclusion protects user data, but a rollback would then silently revert personal files to the snapshot point, which is easy to miss and hard to undo.
There is also a storage constraint: RSYNC snapshots need a Linux-formatted partition with enough free space, and snapshots stored on the same drive do not survive disk failure.
Given these trade-offs:
/home?35275 reputation · 17 Nov 2021, 07:32 UTC
/home directory to ensure that a system rollback only reverts the operating system (packages, configurations, and system files) without deleting or reverting your personal documents, photos, or browser data.
/home, Timeshift ensures that a failed update or a system rollback doesn't result in the loss of work created since the snapshot was taken. It creates a clear boundary between the OS state and user-data state./home in a snapshot, Timeshift treats the entire snapshot as a single unit for that specific snapshot mapping. There is no documented toggle within the GUI to perform a "system-only" restore from a snapshot that explicitly includes the home directory.@ subvolume), Timeshift's implementation does not expose this granularity to maintain simplicity and prevent data corruption.To achieve the predictable behavior you need without losing personal data, consider the following architectural approach:
/home. Use a separate backup tool (like Deja Dup, TimesBorg Backup, or rsync) for your personal data. This separates "system recovery" from "data protection."./etc (if the app supports it) or use symlinks to system-wide directories that Timeshift *does back up./home in Timeshift, you must manually back up /home before performing a rollback, then manually restore those files after the system revert is complete.To verify your current configuration, run the following command to see which directories are currently included/excluded:
timeshift --list-filtersUse comments to ask for clarification. Post a solution as an answer.
No question comments on this page.