Open LukeShortCloud opened 3 years ago
Automatic:
$ sudo snapper -c root create-config / $ sudo systemctl enable snapper-timeline.timer snapper-cleanup.timer
Manual:
$ sudo btrfs subvolume create /.snapshots $ sudo cp /etc/snapper/config-templates/default /etc/snapper/configs/root $ sudo vim /etc/conf.d/snapper SNAPPER_CONFIGS="root" $ sudo systemctl enable snapper-timeline.timer snapper-cleanup.timer
https://wiki.archlinux.org/title/snapper
Note that there can NOT be a swap file on the Btrfs subvolume that is being used for snapshots. Moved it to its own subvolume first.
https://github.com/openSUSE/snapper/issues/483
Automatic:
Manual:
https://wiki.archlinux.org/title/snapper