User:Nathanlkoch/Tutorials/Btrfs Bootable Backups with Snapshots and Grub
From Gentoo WikiJump to:navigation Jump to:search
Bootable Btrfs Snapshots
You can create snapshots of your partition sub volumes which you can recover from later or create chronological backups for safe keeping.
As per the User:Nathanlkoch/Tutorials/Btrfs Drive Migration I made. You can manually create snapshots or you can use a tool like Snapper.
To boot from them. You will need grub-btrfs.
emerge -av app-eselect/eselect-repository
eselect repository enable guru
emerge --ask --verbose grub-btrfs
Now whenever you updated grub with a
grub-mkconfig -o /boot/grub/grub.cfg
It will detect your bootable sub volumes. You can also set it to detect them automatically and add them.
The config file for grub-btrfs is located at "/etc/default/grub-btrfs/config".