[virt-tools-list] Best way to backup my VMs
eblake at redhat.com
Tue Apr 12 16:37:50 UTC 2011
On 04/12/2011 10:19 AM, Christian Grassi wrote:
> Actually you create a doubt in my mind...
> If you have a VM with lots of memory, if you just suspend the machine,
> and back it up without saving the ram, in teory, as no fsync succeded
> you could lose a lot of stuff which is in the filesystem cache and not
> Am I wrong ?
"crash-consistent" can indeed lose data, and the amount lost increases
when there is more memory to cache more in-flight operations; which is
why 'virsh save'/save/'virsh restore' (full memory and disk state) is
safer than 'virsh suspend'/save/'virsh resume' (crash-consistent disk
space, but no memory to go along with it).
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 620 bytes
Desc: OpenPGP digital signature
More information about the virt-tools-list