[virt-tools-list] export guest configuration
Fossi Baer
Wiesel82 at gmx.ch
Thu Oct 27 07:56:57 UTC 2011
Great Cole,
this two steps worked fine.
To see your VMs try:
virsh --connect xen:/// list --all
Then pass those names to
virsh --connect xen:/// dumpxml $vmname
Now i have the xml files of my VMs.
How can i import this xml files.
Wiesel82
>
> -------- Original-Nachricht --------
> Datum: Wed, 26 Oct 2011 08:53:45 -0400
> Von: Cole Robinson <crobinso at redhat.com>
> An: Wiesel82 at gmx.ch
> CC: virt-tools-list at redhat.com
> Betreff: Re: [virt-tools-list] export guest configuration
>
> On 10/26/2011 08:44 AM, Wiesel82 at gmx.ch wrote:
> > Hi all,
> > i manage my xen guests with virt-manager. I install and clone guests
> with
> > virt-manager and virt-install. Now i would like to export the guest
> > configurations. If the system will crash completely and the system need
> to
> > reinstall. How can i recover all my guest configurations?
> >
> > Is it enough to save .gconf/apps/virt-manager or how can i get all my
> guests
> > configurations back after a crash?
> > XM normally save the configurations in /etc/xen/vm/. But in
> virt-manager i
> > don't find a option to export configurations to a file or a option
> where
> > config files will be saved.
> >
>
> You want to use 'virsh dumpxml' to get the guest configuration. Try
>
> To see your VMs try:
> virsh --connect xen:/// list --all
>
> Then pass those names to
> virsh --connect xen:/// dumpxml $vmname
>
> You'll also need to copy the disk images. The paths for those are shown
> in the
> virt-manager VM details section.
>
> - Cole
>
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20111027/c9ac86af/attachment.htm>
More information about the virt-tools-list
mailing list