BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Debian 11 -> 12



On Wed, 22 May 2024 15:51:13 -0400
Dan Ritter <dsr at randomstring.org> wrote:

> In ZFS, you can promote a snapshot to being the True State of
> affairs, which rolls the system back to that consistent state.

This can be done with Btrfs as well. OpenSUSE integrate their Snapper
tool with Zypper to snapshot the system before updates, and with GRUB
to make rolling back simple if an update goes bad.

[...]
> In my experience, the most likely thing you'll do with a
> snapshot (other than ignore it) is copy off the state of a
> particular file or directory back into the real world.

Or to find a previous version of a file. I don't know if Btrfs has this
but ZFS has a "live" snapshot access mechanism. If the dataset is
mounted as /tank/data, you can cd /tank/data/.zfs/snapshot to peruse
the available snapshots.

-- 
\m/ (--) \m/