Thanks a lot for the extensive explanation, GreyGeek!! That was super-helpful!
I think my conceptual error was that I did not realize that @ was not the <root_fs>.
So from this point-of-view I can see why it is advantageous to mount the <root_fs> to somewhere else when doing backups.
Now, I could just permanently mount the <root_fs> to, say, /mnt/btrfs_pool/ as the btrbk examples seem to suggest, or I could wrap btrbk into a script that just mounts immediately before the snapshot/backup operation, and then unmounts. Any thoughts on this?
Also another consideration: with the new mount point for <root_fs> I can create either a folder or a subvolume to hold my snapshots - Cubicle suggests a subvolume, and I can see that this could be convenient, since you can mount it directly, but then snapshots are also subvolumes, so they would have to be mounted separately anyway, wouldn't they? So you could also just use a folder in <root_fs>? This is actually what Timeshift seems to do.
So at the moment I have this:
I think my conceptual error was that I did not realize that @ was not the <root_fs>.
So from this point-of-view I can see why it is advantageous to mount the <root_fs> to somewhere else when doing backups.
Now, I could just permanently mount the <root_fs> to, say, /mnt/btrfs_pool/ as the btrbk examples seem to suggest, or I could wrap btrbk into a script that just mounts immediately before the snapshot/backup operation, and then unmounts. Any thoughts on this?
Also another consideration: with the new mount point for <root_fs> I can create either a folder or a subvolume to hold my snapshots - Cubicle suggests a subvolume, and I can see that this could be convenient, since you can mount it directly, but then snapshots are also subvolumes, so they would have to be mounted separately anyway, wouldn't they? So you could also just use a folder in <root_fs>? This is actually what Timeshift seems to do.
So at the moment I have this:
Code:
$ sudo btrfs subvolume list /mnt/btrfs_pool/ ID 256 gen 14941 top level 5 path @ ID 257 gen 14942 top level 5 path @home ID 263 gen 13955 top level 5 path @swap ID 270 gen 14800 top level 5 path timeshift-btrfs/snapshots/2021-02-12_17-36-38/@ ID 271 gen 13930 top level 5 path timeshift-btrfs/snapshots/2021-02-12_17-36-38/@home ... ID 660 gen 14795 top level 5 path timeshift-btrfs/snapshots/2021-03-15_19-57-21/@ ID 661 gen 14793 top level 5 path timeshift-btrfs/snapshots/2021-03-15_19-57-21/@home ID 662 gen 14942 top level 5 path @snapshots ID 663 gen 14942 top level 662 path @snapshots/@.20210315 ID 664 gen 14942 top level 662 path @snapshots/@home.20210315
Comment