backup empty of no disks selected

vkhera

Member
Feb 24, 2015
192
14
18
Maryland, USA
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.

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)
 
Side note: when you manually delete a backup via GUI, it deletes the VMA file but leaves the .log file. The .log files do seem to be cleaned up with the automatic pruning of number of backups.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!