
The 13/03/13, Eric Blake wrote:
On 03/13/2013 09:25 AM, Nicolas Sebrecht wrote:
I use a script started each night to (managed)save the guests and upload them to a FTP server. Basically, I do
virsh managedsave guest <upload managedsave file> <upload guest disks> virsh start guest
You might want to look into external snapshots as a more efficient way of taking guest snapshots. With virsh managedsave/start, you are guaranteed guest downtime of several seconds at a minimum, and you have to do the disk management yourself; but with external snapshots, you can take a consistent picture of guest state at a point in time with sub-second downtime (the same way live migration between hosts has sub-second downtime).
I'm coming back to say that we now have a working solution in production based on external snapshots. It's written in python to execute to process detailed in this thread. The downtime is a few seconds. Thanks again. -- Nicolas Sebrecht