On 10/27/2011 03:56 AM, Fossi Baer wrote: > 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. >
On the new machine, virsh --connect xen:/// define $filename > Wiesel82 >> >> -------- Original-Nachricht -------- >> Datum: Wed, 26 Oct 2011 08:53:45 -0400 >> Von: Cole Robinson <[email protected]> >> An: [email protected] >> CC: [email protected] >> Betreff: Re: [virt-tools-list] export guest configuration >> >> On 10/26/2011 08:44 AM, [email protected] 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 _______________________________________________ virt-tools-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-tools-list
