I have two standalone Proxmox VE nodes, one is the main node with the running VMs, the other is standby, in case something happens to the first node or the VMs on it.
Every night, I sync the VMs from the main node to the standby node via vzdump, ssh, qmrestore with the following commandline which works great:
However, this always syncs the whole VM. With that small VM above it's not an issue, but e.g. a 3TB vm will take very long and also wear down the SSD on the standby server if that would be done every night. Is there a way to sync only the differences between the current state and last sync somehow? I.e. take a snapshot and sync only the snapshot maybe?
Every night, I sync the VMs from the main node to the standby node via vzdump, ssh, qmrestore with the following commandline which works great:
Code:
vzdump 102 --stdout --compress=zstd | ssh 10.10.10.222 "zstd -d | qmrestore --storage local-lvm - 202"
Code:
INFO: 100% (10.0 GiB of 10.0 GiB) in 24s, read: 1.1 GiB/s, write: 529.0 MiB/s
INFO: backup is sparse: 2.75 GiB (27%) total zero data
INFO: transferred 10.00 GiB in 24 seconds (426.7 MiB/s)
INFO: Finished Backup of VM 102 (00:00:25)
INFO: Backup finished at 2025-08-19 15:09:38
INFO: Backup job finished successfully
However, this always syncs the whole VM. With that small VM above it's not an issue, but e.g. a 3TB vm will take very long and also wear down the SSD on the standby server if that would be done every night. Is there a way to sync only the differences between the current state and last sync somehow? I.e. take a snapshot and sync only the snapshot maybe?