Hello,
I installed PVE 7.3 with a BTRFS file system on a small system (old Thinkpad T520 with an SSD for the system drive, and two HDDs -- the latter are directly formatted in BTRFS and exported to a Rockstor NAS VM). The performance so far has been very good.
I noticed that the installer created a subvolume at /var/lib/pve/local-btrfs (as per the wiki). I also see that subvolumes for each VM or container are created nested inside that directory.
In pondering my backup strategy, I was wondering if I could use BTRFS snapshots and a backup tool like btrbk, which is a nice integrated snapshot/backup solution I've used happily on desktop Linux. BTRFS needs subvolumes for snapshots, so I couldn't backup the host itself (which wasn't installed with a / subvolume like other distributions I've used), but it could snapshot the VMs and containers, which have their own individual subvolumes. Then btrbk can send that snapshot in an incremental fashion to external storage.
Is there a downside to what I'm thinking about? My VMs are quite small: 16Gb and 4Gb, and maybe a few more of that size in the future.
I installed PVE 7.3 with a BTRFS file system on a small system (old Thinkpad T520 with an SSD for the system drive, and two HDDs -- the latter are directly formatted in BTRFS and exported to a Rockstor NAS VM). The performance so far has been very good.
I noticed that the installer created a subvolume at /var/lib/pve/local-btrfs (as per the wiki). I also see that subvolumes for each VM or container are created nested inside that directory.
In pondering my backup strategy, I was wondering if I could use BTRFS snapshots and a backup tool like btrbk, which is a nice integrated snapshot/backup solution I've used happily on desktop Linux. BTRFS needs subvolumes for snapshots, so I couldn't backup the host itself (which wasn't installed with a / subvolume like other distributions I've used), but it could snapshot the VMs and containers, which have their own individual subvolumes. Then btrbk can send that snapshot in an incremental fashion to external storage.
Is there a downside to what I'm thinking about? My VMs are quite small: 16Gb and 4Gb, and maybe a few more of that size in the future.