Re: [libvirt-users] Backup a VM (using live external snapshot and blockcommit)

2015-09-11 Thread Jérôme
Le Fri, 11 Sep 2015 10:45:34 -0600, Eric Blake a écrit : > But if the guest is > malicious, it can pretend to be a guest agent, but intentionally > refuse to reply to the --quiesce request, and leave libvirt hung > waiting for a reply. So it boils down to whether you trust your > guests to be re

Re: [libvirt-users] Transient VM Usage

2015-09-11 Thread Kashyap Chamarthy
On Fri, Sep 11, 2015 at 04:03:20PM +0200, Michal Privoznik wrote: > On 11.09.2015 11:34, Mcburn wrote: > > Hey at all, > > > > my Name is Jens-Uwe Sperling. Iám a young student in computer science. > > I want install a VM for testing at home. > > > > i had install a VM with virt-install and the d

Re: [libvirt-users] Backup a VM (using live external snapshot and blockcommit)

2015-09-11 Thread Kashyap Chamarthy
[. . .] On Fri, Sep 11, 2015 at 10:45:34AM -0600, Eric Blake wrote: > On 09/11/2015 10:18 AM, Jérôme wrote: > > >> Yep, that about covers it. Note that the --quiesce step in snapshot > >> creation requires qemu-guest-agent running in the guest, and that you > >> trust interaction with your guest

Re: [libvirt-users] Backup a VM (using live external snapshot and blockcommit)

2015-09-11 Thread Eric Blake
On 09/11/2015 10:18 AM, Jérôme wrote: >> Yep, that about covers it. Note that the --quiesce step in snapshot >> creation requires qemu-guest-agent running in the guest, and that you >> trust interaction with your guest. > > Yes, I think I get this. I don't really figure out what these cases > co

Re: [libvirt-users] Backup a VM (using live external snapshot and blockcommit)

2015-09-11 Thread Jérôme
Hi Eric. Thank you so much for your quick and relieving answer. Le 2015-09-11 17:05, Eric Blake a écrit : > Yes, using active block-commit is the ideal way to perform a live backup. Great. > Yep, that about covers it. Note that the --quiesce step in snapshot > creation requires qemu-guest-age

Re: [libvirt-users] Backup a VM (using live external snapshot and blockcommit)

2015-09-11 Thread Eric Blake
On 09/11/2015 06:45 AM, Jérôme wrote: > AFAIU, live backups using libvirt may be done thanks to blockcommit as > explained here on the wiki [2]. > > -> Considering our use case, is this the recommended way? Yes, using active block-commit is the ideal way to perform a live backup. > > Assuming

Re: [libvirt-users] Transient VM Usage

2015-09-11 Thread Mcburn
Hey at all, thank you very much Michal Privoznik, Eric Blake and Michal Privoznik for the fast answer :) and your opinion. I try out the snapshot method over the weekend. So have a nice Weekend :) On 11.09.2015 16:36, Daniel P. Berrange wrote: > On Fri, Sep 11, 2015 at 04:03:20PM +0200, Michal

Re: [libvirt-users] Transient VM Usage

2015-09-11 Thread Daniel P. Berrange
On Fri, Sep 11, 2015 at 04:03:20PM +0200, Michal Privoznik wrote: > On 11.09.2015 11:34, Mcburn wrote: > > Hey at all, > > > > my Name is Jens-Uwe Sperling. Iám a young student in computer science. > > I want install a VM for testing at home. > > > > i had install a VM with virt-install and the d

Re: [libvirt-users] Transient VM Usage

2015-09-11 Thread Eric Blake
On 09/11/2015 08:03 AM, Michal Privoznik wrote: >> - Using the transient option in the xml file under disk. > > Wow, I didn't even know we have such element. We added the XML, but (still) have not wired it up to actually work :( > >> - Making a qcow2 image and run that. > > You mean cop

Re: [libvirt-users] Transient VM Usage

2015-09-11 Thread Michal Privoznik
On 11.09.2015 11:34, Mcburn wrote: > Hey at all, > > my Name is Jens-Uwe Sperling. Iám a young student in computer science. > I want install a VM for testing at home. > > i had install a VM with virt-install and the default parameters. (Number > cpu, mem etc.) > > After that i install my OS and

[libvirt-users] Backup a VM (using live external snapshot and blockcommit)

2015-09-11 Thread Jérôme
Hi. I'm following here a conversation that was initiated on Kashyap's website [1]. We have a server we use as a host for virtual machines using KVM (virt-manager used for VM creation) and we would like to setup VM backups. Basically, we're thinking of a backup schedule like "keep 7 daily and 4 we

[libvirt-users] Transient VM Usage

2015-09-11 Thread Mcburn
Hey at all, my Name is Jens-Uwe Sperling. Iám a young student in computer science. I want install a VM for testing at home. i had install a VM with virt-install and the default parameters. (Number cpu, mem etc.) After that i install my OS and configure it. Now i want work on this image in a tra