Not sure if this is a noob question, I don't have a deep understanding FS snapshots.
All my docker containers are running with bind mounts on ubuntu VM on PVE nodes with ZFS, and been learning about backup. I've read that its best to stop docker database containers before making backup to ensure consistency, but FS level snapshot (ZFS) doesn't have this worry.
So I thought of 2 approach using
1. Install proxmox-backup-client to VM and call it on VM level.
2. Create zfspool/dataset_vm1 on PVE node, mount it in VM with NFS, and call proxmox-backup-client on PVE node
I'm not sure if either level actually using ZFS snapshot? Or just copy the files? Or if there's some method to test?
Preferably I'd want the docker bind mount to stay in VM rather than NFS mounts, that makes VM migration and replication and HA much simpler to deal with
It is also possible just create 2nd VM disk to be backed up with PBS while excluding the OS disk, but I don't think PBS allow viewing or exporting single file if done this way
All my docker containers are running with bind mounts on ubuntu VM on PVE nodes with ZFS, and been learning about backup. I've read that its best to stop docker database containers before making backup to ensure consistency, but FS level snapshot (ZFS) doesn't have this worry.
So I thought of 2 approach using
Code:
proxmox-backup-client backup disk1.pxar:/mnt/disk1
1. Install proxmox-backup-client to VM and call it on VM level.
2. Create zfspool/dataset_vm1 on PVE node, mount it in VM with NFS, and call proxmox-backup-client on PVE node
I'm not sure if either level actually using ZFS snapshot? Or just copy the files? Or if there's some method to test?
Preferably I'd want the docker bind mount to stay in VM rather than NFS mounts, that makes VM migration and replication and HA much simpler to deal with
It is also possible just create 2nd VM disk to be backed up with PBS while excluding the OS disk, but I don't think PBS allow viewing or exporting single file if done this way
Last edited: