I have a VM with large disks, and they do not backup in a timely fashion using vzdump to an NFS storage. Therefore, I use a snapshot with zfs send/receive to keep a clone of the zfs volumes on a remote machine. This works really well. The only problem is the vzdump backups from PVE for that VM are empty when I omit all of the disks from backup. If I select one of the virtual disks to include (a small boot volume) then I get the backup of the config file too.
I would expect that the backup would at minimum include the config file even if none of the disks were included in the backup.
Is this a bug I should file or expected behavior. I did not find anything about this in the forums. I'm running 4.0 beta 1 updated.
This is the log of a backup with no disks selected. I resulted in an empty .vma file.
I would expect that the backup would at minimum include the config file even if none of the disks were included in the backup.
Is this a bug I should file or expected behavior. I did not find anything about this in the forums. I'm running 4.0 beta 1 updated.
This is the log of a backup with no disks selected. I resulted in an empty .vma file.
Code:
Sep 08 09:21:36 INFO: Starting Backup of VM 104 (qemu)Sep 08 09:21:36 INFO: status = running
Sep 08 09:21:36 INFO: update VM 104: -lock backup
Sep 08 09:21:36 INFO: exclude disk 'scsi3' (backup=no)
Sep 08 09:21:36 INFO: exclude disk 'scsi1' (backup=no)
Sep 08 09:21:36 INFO: exclude disk 'scsi2' (backup=no)
Sep 08 09:21:36 INFO: exclude disk 'scsi0' (backup=no)
Sep 08 09:21:36 INFO: backup mode: snapshot
Sep 08 09:21:36 INFO: ionice priority: 7
Sep 08 09:21:36 INFO: snapshots found (not included into backup)
Sep 08 09:21:36 INFO: creating archive '/mnt/pve/filer/dump/vzdump-qemu-104-2015_09_08-09_21_36.vma'
Sep 08 09:21:36 INFO: backup contains no disks
Sep 08 09:21:36 INFO: starting template backup
Sep 08 09:21:36 INFO: /usr/bin/vma create -v -c /mnt/pve/filer/dump/vzdump-qemu-104-2015_09_08-09_21_36.tmp/qemu-server.conf exec:cat>/mnt/pve/filer/dump/vzdump-qemu-104-2015_09_08-09_21_36.dat
Sep 08 09:21:36 INFO: archive file size: 0KB
Sep 08 09:21:37 INFO: Finished Backup of VM 104 (00:00:01)