You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run ./setup.sh once for installation of snapper and configurations.
Run ./rollback.sh instead of sudo snapper rollback that is extremely buggy.
Other snapper commands such as sudo snapper list still remain useful.
rollback.sh
./rollback.sh # replaces sudo snapper rollback # where # is your snapshot ID you may find on sudo snapper list.
./rollback.sh installs itself in /usr/local/bin/rollback so that it can also be run as rollback thereafter.
setup.sh
Separates the root subvolume (@) from the snapshot tree, tunes /etc/fstab (noatime, compress=zstd, separate /.snapshots mount), and installs/configures snapper (timeline + apt hooks, automatic cleanup).
rollback.sh depends on the resulting @ + /.snapshots layout.
setup-swapfile.sh
Creates a Snapper-compatible Btrfs swapfile under /@swap/ subvolume and edit /etc/fstab accordingly.