meta data for this page
This is an old revision of the document!
Snapshots
snapper
apt-get install snapper snapper-gui
Create snapper configuration for subvolumes (specified by mount point):
snapper -c root create-config / snapper -c home create-config /home snapper -c opt create-config /opt
The default settings will keep 10 hourly, 10 daily, 10 monthly and 10 yearly snapshot. Snapper automatically installs systemd's timers to work on periodic intervals.
To modify intervals and other per subvolume settings, inspect files in /etc/snapper/configs
Also automatic snapshot is performed when apt install sth:
## Path: System/Snapper ## Type: string ## Default: "" # List of snapper configurations. SNAPPER_CONFIGS="root home opt" # if you want to disable snapshot per install/upgrade, then set "yes" DISABLE_APT_SNAPSHOT="no"
Tuning
PRUNENAMES = ".snapshots"