<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi,<div><br></div><div>While there are a few howtos floating around, what is the standard way to snapshot guests?</div><div><br></div><div>I went through and converted from raw to pre allocated meta data qcow2 images for this purpose.</div><div><br></div><div>Some howtos suggest to do an xml snapshot file as so;</div><div><br></div><div><pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 97%;"><code><domainsnapshot>
   <name>UbuntuServer_10.10-16032011</name>
   <description>Snapshot of OS install and updates</description>
</domainsnapshot></code></pre><div><br></div></div><div>And then to run as so;</div><div><br></div><div><pre style="background-color: #eeeeee; border: 1px dashed #999999; color: black; font-family: Andale Mono, Lucida Console, Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 97%;"><code>virsh snapshot-create UbuntuServer_10.10 UbuntuServer_10.10-ss.xml</code></pre><div><br></div></div><div>Seems a bit over kill.</div><div><br></div><div>I was thinking more along the lines of this;</div><div><br></div><div>qemu-img snapshot -c $date $filename</div><div><br></div><div>qemu-img convert -f qcow2 -O qcow2 -s $date $filename $filename-$date</div><div> <br>
Or something like this.Anyways, hoping to see how you all are doing this for best practice sort of thing.</div><div><br></div><div>- aurf</div><div><br></div><div><br></div></body></html>