qcow2 snapshot backup?

deepc

New Member
Sep 3, 2010
9
0
1
How should a snapshot backup work with qcow2 files?
Does vzdump use the qcow2 snapshot functions?

When I do a backup i get this log:

Code:
Nov 11 19:30:02 INFO: Starting Backup of VM 107 (qemu)
Nov 11 19:30:02 INFO: running
Nov 11 19:30:02 INFO: status = running
Nov 11 19:30:02 INFO: mode failure - unable to dump into snapshot (use option --dumpdir)
Nov 11 19:30:02 INFO: trying 'suspend' mode instead
Nov 11 19:30:02 INFO: backup mode: suspend
Nov 11 19:30:02 INFO: ionice priority: 7
Nov 11 19:30:03 INFO: suspend vm
Nov 11 19:30:03 INFO: creating archive '/var/backup/vzdump-qemu-107-2010_11_11-19_30_02.tgz'
Nov 11 19:30:03 INFO: adding '/var/backup/vzdump-qemu-107-2010_11_11-19_30_02.tmp/qemu-server.conf' to archive ('qemu-server.conf')
Nov 11 19:30:03 INFO: adding '/var/lib/vz/images/107/vm-107-disk-1.qcow2' to archive ('vm-disk-ide0.qcow2')
Nov 11 19:30:32 INFO: Total bytes written: 357509120 (11.72 MiB/s)
Nov 11 19:30:32 INFO: archive file size: 188MB
Nov 11 19:30:32 INFO: delete old backup '/var/backup/vzdump-qemu-107-2010_11_11-19_09_01.tgz'
Nov 11 19:30:32 INFO: resume vm
Nov 11 19:30:32 INFO: vm is online again after 29 seconds
Nov 11 19:30:32 INFO: Finished Backup of VM 107 (00:00:30)
 
vzdump uses LVM snapshots.

where is your backup location? is this the local disk? (/var/backup/)

post the output of:
Code:
pvdisplay
 
Yes its /var/backup and its on the same lv as the file to backup.
Could that be a problem?

Code:
pvdisplay
  --- Physical volume ---
  PV Name               /dev/md1
  VG Name               vg_main
  PV Size               931.04 GB / not usable 832.00 KB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              238345
  Free PE               127201
  Allocated PE          111144
  PV UUID               Vgsjcs-3vzh-4c6N-WVp1-kASP-KMeH-bsKeCP
 
yes.
 

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!