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

Technology

966 readers
4 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
[–] davel@lemmygrad.ml 2 points 1 week 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.