List of useful BTRFS tools
List of useful BTRFS tools
List of useful BTRFS tools
limine-snapper-sync for booting a snapshot from Limine bootloader
Never heard of limine
Arch Wiki Limine mentions:
- Supports booting into selected Snapper snapshot. Offers two different methods for restoring a system snapshot: rsync or btrfs.
- After restoring a snapshot, a "backup" entry is added to the Limine bootloader, providing an easy way to revert to the "backup" if needed.
- Automatically repairs corrupted bootable files from old snapshots on the ESP when a new snapshot with the same bootable files is created.
- Automatically logs error messages about potential hardware issues if two hashes of the same bootable file do not match on the ESP.
- Testing read-only snapshots: Use overlayfs to test any installed packages on an immutable-like system without modifying the original data. Note that this does not mean testing the boot partition or a separate home subvolume/partition.
SUSE & openSUSE also have a great documentation about the snapper snapshot tool which is also available in many distributions:
Arch wiki already in there XD
I like btdu which is essentially ncdu, but works in a way that is useful even if advanced btrfs features (CoW, compression etc.) are used.
Added it
I've used btrfs-autosnap for a while on Arch and it's brilliant. Whenever you install or remove something with pacman it creates a btrfs snapshot of your subvolumes and if you have grub-btrfs install too they get added to Grub menu. Very handy.
You can define which subvolumes you want snapshotted and how many snapshots of each you want to keep. Which means it also removes the oldest snapshot when a new is created if it gets over the keep amount.
Added it
There is R-Linux for recovering deleted files, altough it doesn't support btrfs it can recover data from btrfs drives(if anyone knows something better please let me know as I have a drive that completely wiped itself).
Is that R-Linux and R-Studio something different from R the language and RStudio the GUI for it? Damn this is confusing.
I have no idea. R-Linux is what the package on the AUR is called and it doesn't require a license unlike R-Studio from the site.
Nice list.
Depending on your package manager, there are very handy snapper
plugins that do automated pre/post snapshots for package installation/removal.
For Arch-based systems it's snap-pac
, and Fedora has one too (although I can't remember the name).
Thanks, added it
I would like to recommend Yabsnap as an alternative to Snapper. It's made for Arch, tested on Fedora and might work on other distros. But it needs more eyes and testers!
Edit: thank you for the list! It's very nice to see what is available for btrfs
Added it
Okay I will add a "btrfs bindings" section 🫠
I’m not saying this to start a fight, but as a person who used btrfs for a situation it was not suited for: there need to be some tools for migrating off btrfs here.
Ok you know one?
Not that I was aware of a couple of years ago. I ended up copying to a different media, reformatting and copying back and accepting the loss of the snapshots.