Hello,
this is my first post on this great forum.
For a unknown reason (but i will investigate...) one of my VM has a zero bytes .conf file.
I have a PVE 4.4 cluster and I've scheduled backup for my VM every evening: the backup send a mail to my gmail address where are automatically applied Labels based on the presence of some word in the text of the mail, in particolar 'error'...
Yesterday I've opened the last received mail where NO ERRORS were present:
VMID NAME STATUS TIME SIZE FILENAME
101 VM 101 OK 00:00:01 0KB /var/lib/vz/dump/vzdump-qemu-101-2017_07_29-19_30_02.vma.gz
TOTAL 00:00:01 0KB
Detailed backup logs:
vzdump 101 --quiet 1 --mode snapshot --node pve3-tsc --compress gzip --mailnotification always --storage local --mailto XXXmymailXXX
101: lug 29 19:30:02 INFO: Starting Backup of VM 101 (qemu)
101: lug 29 19:30:02 INFO: status = running
101: lug 29 19:30:03 INFO: update VM 101: -lock backup
101: lug 29 19:30:03 INFO: backup mode: snapshot
101: lug 29 19:30:03 INFO: bandwidth limit: 90000 KB/s
101: lug 29 19:30:03 INFO: ionice priority: 7
101: lug 29 19:30:03 INFO: creating archive '/var/lib/vz/dump/vzdump-qemu-101-2017_07_29-19_30_02.vma.gz'
101: lug 29 19:30:03 INFO: backup contains no disks
101: lug 29 19:30:03 INFO: starting template backup
101: lug 29 19:30:03 INFO: /usr/bin/vma create -v -c /var/lib/vz/dump/vzdump-qemu-101-2017_07_29-19_30_02.tmp/qemu-server.conf execigz -p 16>/var/lib/vz/dump/vzdump-qemu-101-2017_07_29-19_30_02.vma.dat
101: lug 29 19:30:03 INFO: archive file size: 0KB
101: lug 29 19:30:03 INFO: delete old backup '/var/lib/vz/dump/vzdump-qemu-101-2017_07_22-19_30_02.vma.gz'
101: lug 29 19:30:03 INFO: Finished Backup of VM 101 (00:00:01)
I think that this is a dangerous situation where the backup is silently failing... Ok, the real problem is the 101.conf file with a zero byte, but the VM is online and working and I've had no indication of a (multiple) 'unusable' backup... Yes, older backup are being deleted 'correctly', and now I've no working backup available.
I'm ok with a VM with no disk as reported in the log (I could have a VM to test Live CD...) but I think that some info should be present (eg. CPU, RAM, etc...) in the 101.conf file, that the .conf file can't be zero or even that the backup can't be zero without the backup procedure raising an error (or at least some warning...).
If this situation happens it is really easy to think that everything is working and the backup are done correctly: some additional check could easily show the problem.
Bye,
DiSa.
this is my first post on this great forum.
For a unknown reason (but i will investigate...) one of my VM has a zero bytes .conf file.
I have a PVE 4.4 cluster and I've scheduled backup for my VM every evening: the backup send a mail to my gmail address where are automatically applied Labels based on the presence of some word in the text of the mail, in particolar 'error'...
Yesterday I've opened the last received mail where NO ERRORS were present:
VMID NAME STATUS TIME SIZE FILENAME
101 VM 101 OK 00:00:01 0KB /var/lib/vz/dump/vzdump-qemu-101-2017_07_29-19_30_02.vma.gz
TOTAL 00:00:01 0KB
Detailed backup logs:
vzdump 101 --quiet 1 --mode snapshot --node pve3-tsc --compress gzip --mailnotification always --storage local --mailto XXXmymailXXX
101: lug 29 19:30:02 INFO: Starting Backup of VM 101 (qemu)
101: lug 29 19:30:02 INFO: status = running
101: lug 29 19:30:03 INFO: update VM 101: -lock backup
101: lug 29 19:30:03 INFO: backup mode: snapshot
101: lug 29 19:30:03 INFO: bandwidth limit: 90000 KB/s
101: lug 29 19:30:03 INFO: ionice priority: 7
101: lug 29 19:30:03 INFO: creating archive '/var/lib/vz/dump/vzdump-qemu-101-2017_07_29-19_30_02.vma.gz'
101: lug 29 19:30:03 INFO: backup contains no disks
101: lug 29 19:30:03 INFO: starting template backup
101: lug 29 19:30:03 INFO: /usr/bin/vma create -v -c /var/lib/vz/dump/vzdump-qemu-101-2017_07_29-19_30_02.tmp/qemu-server.conf execigz -p 16>/var/lib/vz/dump/vzdump-qemu-101-2017_07_29-19_30_02.vma.dat
101: lug 29 19:30:03 INFO: archive file size: 0KB
101: lug 29 19:30:03 INFO: delete old backup '/var/lib/vz/dump/vzdump-qemu-101-2017_07_22-19_30_02.vma.gz'
101: lug 29 19:30:03 INFO: Finished Backup of VM 101 (00:00:01)
I think that this is a dangerous situation where the backup is silently failing... Ok, the real problem is the 101.conf file with a zero byte, but the VM is online and working and I've had no indication of a (multiple) 'unusable' backup... Yes, older backup are being deleted 'correctly', and now I've no working backup available.
I'm ok with a VM with no disk as reported in the log (I could have a VM to test Live CD...) but I think that some info should be present (eg. CPU, RAM, etc...) in the 101.conf file, that the .conf file can't be zero or even that the backup can't be zero without the backup procedure raising an error (or at least some warning...).
If this situation happens it is really easy to think that everything is working and the backup are done correctly: some additional check could easily show the problem.
Bye,
DiSa.
Last edited: