How-To: Backup a KVM (so that) LIVE snapshots are included

sawgood

New Member
Nov 8, 2012
7
0
1
Proxmox 3.0

I searched, and I could not find a direct answer.
Looking to be able to use the GUI to make a KVM backup and include the two LIVE snapshots.
Backups of KVMs (work) and (restore) 100% fine.

Work around so far: Make two backups of the KVM (one for each) LIVE snapshot.

The KVM is in qcow2 format.
The /dump directory (is off /) and the format is ext3

Here is output from the backup attempt to include a LIVE snapshot (up to 1%) to show the example:

INFO: starting new backup job: vzdump 303 --remove 0 --mode stop --compress gzip --storage dump --node hosted-03
INFO: Starting Backup of VM 303 (qemu)

INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: snapshots found (not included into backup)
INFO: creating archive '/hx3-KVM-backups-main/dump/vzdump-qemu-303-2013_09_07-15_53_54.vma.gz'
INFO: starting kvm to execute backup task
INFO: started backup task '12459cc0-5d65-49bc-974d-d9cffbcc8105'
INFO: status: 0% (83623936/34359738368), sparse 0% (37330944), duration 3, 27/15 MB/s
INFO: status: 1% (486539264/34359738368), sparse 1% (392425472), duration 6, 134/15 MB/s

Any tips/suggestions are appreciated.


 
Our backup tool does not include live snapshots.

Thank you for your reply.
With your update, I'll stick to making individual backups (one for each snapshot).
This will be a huge drag for revision control, etc.

Final Q:
Do you know of any way to get all LIVE snapshots included into a backup (using the CLI maybe)?
Reason: Didn't want to have to make individual backups for each snapshot (and) then require their own KVM when restored.

Thanks in advance for your reply.
 
Do you know of any way to get all LIVE snapshots included into a backup (using the CLI maybe)?
Reason: Didn't want to have to make individual backups for each snapshot (and) then require their own KVM when restored.

No, I do not know a way to do that.
 

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!