Closed lzap closed 2 years ago
Oh I have to use .
! None of the examples in the README shows that yet this is the setup that Fedora installer creates:
snapshot_preserve_min 2d
target_preserve_min 6m
archive_preserve_min 2y
snapshot_create ondemand
snapshot_dir btrbk
volume /
subvolume .
target /mnt/backup/root
The man page says this is not recommended, why is that? Isn't this the only way to backup my root volume? Thanks.
using 0.32.0, you should be able to have it simpler by omitting the (now optional) volume
:
snapshot_preserve_min 2d
target_preserve_min 6m
archive_preserve_min 2y
snapshot_create ondemand
subvolume /
snapshot_dir /btrbk
target /mnt/backup/root
I don't recommend it, as it is pretty counter-intuitive to get the snapshots /btrbk
inside the snapshotted subvolume /
. Another reason is that your config depends on the mount options, and not on the subvolume layout starting at the root node (subvolid=5).
Hey, I am on Fedora Rawhide with the latest btrbk-0.31.3-1.fc36.noarch and here is my config:
I have a standard Fedora setup:
But btrbk seems to attempt to call
btrfs subvolume snapshot -r //root /btrbk/root.20220125
instead ofbtrfs subvolume snapshot -r root /btrbk/root.20220125
is this a bug?Tried also with master, similar result: