I'm currently looking for a way to mount a snapshot (local ZFS storage) of a VM disk read only in another VM. My best find so far is this article about moving virtual disks: https://pve.proxmox.com/wiki/Moving_disk_image_from_one_KVM_machine_to_another . But this involves a lot of renaming, config file changes and I guess I would need to create a copy of the snapshotted state of the VM. Ideally I'd like to skip as much of this overhead as possible and I think it could be possible as the mounted disk/fs should be read only and would not conflict with the running original VM.
The purpose are offsite backups to B2 or similar on file level. If I trigger these from a separate VM and use read only snapshots from the disks which contain the backup source, I already have a consistent state of the file system and by using a separate VM, offsite backup management can be done in one location and not in each VM.
Maybe there is a better approach but I think mounting disk snapshots would do this task quite well.
Can this be done currently and if so what is the best way?
The purpose are offsite backups to B2 or similar on file level. If I trigger these from a separate VM and use read only snapshots from the disks which contain the backup source, I already have a consistent state of the file system and by using a separate VM, offsite backup management can be done in one location and not in each VM.
Maybe there is a better approach but I think mounting disk snapshots would do this task quite well.
Can this be done currently and if so what is the best way?