I’ve seen some tools that do things like take snapshots periodically and ones that add snapshots to grub, but not this specifically. Does something exist?
This will probably be on EndeavourOS, not Arch directly, if it matters.
You must log in or register to comment.
I use snapper. It takes snapshots not only triggered by pacman hooks but also on an interval or manually.
I’m also on EndeavourOS and used this tutorial to do exactly that.
All you should have to do is
yay -S snapper-support btrfs-assistant
You can run scripts before/after pacman commands using hooks
The AUR package
btrfs-autosnap
does this. You define which subvolumes need to be snapshotted and how many it should keep of each. It adds a pacman hook that then takes a snapshot before updating.