[CentOS-virt] proper way to snapshot

Thu Apr 26 17:23:42 UTC 2012
aurfalien <aurfalien at gmail.com>


While there are a few howtos floating around, what is the standard way to snapshot guests?

I went through and converted from raw to pre allocated meta data qcow2 images for this purpose.

Some howtos suggest to do an xml snapshot file as so;

   <description>Snapshot of OS install and updates</description>

And then to run as so;

virsh snapshot-create UbuntuServer_10.10 UbuntuServer_10.10-ss.xml

Seems a bit over kill.

I was thinking more along the lines of this;

qemu-img snapshot -c $date $filename

qemu-img convert -f qcow2 -O qcow2 -s $date $filename $filename-$date
Or something like this.Anyways, hoping to see how you all are doing this for best practice sort of thing.

- aurf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20120426/958c80d7/attachment-0002.html>