WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] How to rebuild the Configuration files

To: Venefax <venefax@xxxxxxxxx>
Subject: Re: [Xen-users] How to rebuild the Configuration files
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Sun, 24 Aug 2008 01:07:37 -0400
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sat, 23 Aug 2008 22:08:13 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=tO3LEyFYPI5aXlkr+3y71i1qWi1+ww6KDugtySJtEws=; b=Oh5Ro44bt/n3EKwYoKCjjVLTWpiXa7NNFpma4XspXEn9RXKdkBv1ipHuqIjaH1B5DB 5f3NvqnerQehC0b6n8cJiaa9jLAg+EnhsUXNWa1XlDgoAsnOKEt4ZnU6KxJKlcVzr/ND HKSt9nsRTCi6tVperjaZ/LvdioK5ERsN05P8M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=t3lz23Z2iLtwNQNHEMd9gmiKoGfHO4KnvsXJ7FL9n59GefadDr7967QWr+q2qrMyED fgJUcptUF6WsLQElYcBRKpTcvn5VdT/1CP+z5WY2/fVQ+iYNJaiY3Ge/cqSQfCxRQ0Lw ponR56qIAwjbhN7QPTtyJfNSAz3haLKQLyTVU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <01e501c90464$8131e020$8395a060$@com>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <12133422.111219399241441.JavaMail.root@xxxxxxxxxxxxxxxxxxx> <25459266.131219399570289.JavaMail.root@xxxxxxxxxxxxxxxxxxx> <49627735003F5C479100225C339F9FE0D0CE5AD715@xxxxxxxxxxxxxxxxxxxxxx> <01e501c90464$8131e020$8395a060$@com>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Aug 22, 2008 at 10:36 AM, Venefax <venefax@xxxxxxxxx> wrote:
> I deleted accidentally the whole dir /etc/xen/vm. But my domains are still 
> working, I can start them, stop them etc. How do I get the configuration out 
> of the xenstore? I know this command xm list --long DomName > DomName.sxp, 
> but the *.sxp is very different than the regular configuration file. Is there 
> any way to get them back?
>
>

If you are using libvirt as a backend (i.e fedora/centOS/really new
Ubuntu) virt-{manager,install, et al} you should look into:

virsh dumpxml

There have been some conversation on the list about this too.

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users