Introduction ¶
Timeshift is a great tool! It helps making automated system backups. You can do it manually if you want to, but BTRFS snapshots are where it’s at!
- Copying somewhere with rsync, with clever linking to save space as much as possible
- Using BTRFS snapshot
The first option is pointless. This takes forever and isn’t exciting, but BTRFS is what you need! It’s done instantly and where duplicates are, the file system saves it itself. Plus, you can load them right when booting up.
System Requirements ¶
Part of the page on the main repository, but I also found some more:
- The default subvolume for the BTRFS filesystem should be
/
When mounting a BTRFS partition either without specifying the mount option subvol= it will mount at the root. If not, the program crashes. Here’s a script to check and correct this:
|
|
- The root filesystem partition in
/etc/fstab
should be correctly configured
The same subvol= option should be set to either @*
or /@, it doesn’t matter. Here’s a script to tell if everything is correct:
|
|
How it works ¶
When installing any package through pamac or yay, timeshift automatically kicks in if etc/timeshift-autosnap.conf
doesn’t include its skip.