this post was submitted on 07 Nov 2024
20 points (100.0% liked)

Technology

954 readers
46 users here now

A tech news sub for communists

founded 2 years ago
MODERATORS
 

I was doing command line stuff while tweaking on coffee and having a bit of an anxiety attack and I accidentally deleted my home directory.

But I have automated daily snapshots saved which is a ZFS feature. And I was able to simply restore from the latest snapshot which was from this morning. So this is the first time ever that I got any benefit from being on ZFS.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 21 hours ago

I’ve done it, more than once. There are infinitely many ways to do it. I use trash-cli instead of rm(1) now.