backup snapshot failed

Ernie Rojas

Member
Dec 15, 2010
2
0
21
Lima, Peru, Peru
hi folks, i tried to make a backup as snapshot but i have this problem:

INFO: starting new backup job: vzdump --dumpdir /var/lib/vz/backup --snapshot 103
INFO: Starting Backup of VM 103 (qemu)
INFO: running
INFO: status = running
INFO: mode failure - unable to dump into snapshot (use option --dumpdir)
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: suspend vm
INFO: creating archive '/var/lib/vz/backup/vzdump-qemu-103-2010_12_16-14_24_38.tar'
INFO: adding '/var/lib/vz/backup/vzdump-qemu-103-2010_12_16-14_24_38.tmp/qemu-server.conf' to archive ('qemu-server.conf')
INFO: adding '/var/lib/vz/images/103/vm-103-disk-1.vmdk' to archive ('vm-disk-scsi0.vmdk')
^CINFO: resume vm
INFO: vm is online again after 24 seconds

the mode change to suspend, is there way to fix this problem?
 
Hi,

I noticed some time ago that this will happen if your backup directory is on the same partition where you have your virtualized systems.

Regards,
 
you cannot store the backup in the same LVM volume, this will create a loop. backup to a remote storage like NFS or to some location outside /var/lib/vz.