Quickly Restore a Mistakenly Deleted Home Folder with Btrfs Snapshots

Accidentally running rm -rf ~/Documents or letting a rogue script wipe your entire home directory is a nightmare that can happen to anyone. If your root filesystem sits on Btrfs, you can usually recover almost instantly by leveraging snapshots. This post walks through the steps you need to take—from setting up snapshots before you delete anything to restoring the lost data—and discusses the trade‑offs and pitfalls you should watch out for.

[Read More]