Skip Navigation

Is there a way to automatically take a btrfs snapshot prior to upgrading?

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.

4 comments
  • 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.