3 ms·
No, it doesn't snapshot every action. Even as cheap as they are, that would probably be overkill. I have snapshots every 15 minutes, every hour, every day, eve
by kadoban 4y ago
No, it doesn't snapshot every action. Even as cheap as they are, that would probably be overkill.
I have snapshots every 15 minutes, every hour, every day, every week (different retention schedules for each). And then anything dangerous there's a wrapper for "snapshot, do it, snapshot again".
It's really pretty difficult to lose anything this way, and recovery is _very_ easy. The snapshotted files are available in a magic directory named .zfs or something.
Backups are still needed of course, because if the fs shits itself (or enough redundant drives die), you'd still be in trouble.
- mnd999 4y agoI’ve still managed to do it, when I hit a poudriere bug which resulted in it doing a zfs destroy on my root partition, but yeah generally it’s hard to lose things on zfs. What is it with OS manufacturers inventing clever file systems and then hiding all the features? APFS snapshots could be really useful to power users if the tooling was better. And NTFS was really modern for its time, but things like alternate streams were super hidden to the point nobody apart from malware authors used them.