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] Re: Data Backup and Restore Scripts for your Xen Server

To: Javier Guerra <javier@xxxxxxxxxxx>
Subject: Re: [Xen-users] Re: Data Backup and Restore Scripts for your Xen Servers
From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
Date: Thu, 19 Nov 2009 03:45:32 +0800
Cc: space.time.universe@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, Steven Anderson <hikenboot@xxxxxxxxx>
Delivery-date: Wed, 18 Nov 2009 11:46:45 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=gkqgf3Rvdn4EekgcyBrUoYF+XFevwM0XwaSOgSxo7Kc=; b=M94Jj8nCINruU8Fki5bpWgs3Pwu+FO40u+6CXCMCc1NeLECI94kMaHkb5/v+IqcOIf uCrlsyqP+HGR2CYH0jRjC1KSBnPA0/sfKB8zSQqJ1au062BsPbWrNovLyquYPBo+CVCb MxIBv1V2ily9PV5966Pytek69psTpMkJYwkm8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=cEnNAo/L7GqFJzhzoWHgsoYYO/HwgeoLwJpjNvimN0n+mPWKisoWgYBAgWaWPvDv/m s1pmQCDOvxSrDV04P6Rf8Nw2cOPFxzC5Kr4OYbAW0CP4xoCKLfFgaNGtiKuTHa6dLgQw 5YCJdTOwWEGp+QpsIRV/J8PGWiSAr3TY3Z4dc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200911152004.28878.javier@xxxxxxxxxxx>
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: <731199.38289.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <200911152004.28878.javier@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Nov 16, 2009 at 9:04 AM, Javier Guerra <javier@xxxxxxxxxxx> wrote:
> Steven Anderson wrote:
>> I was trying to understand why one wouldnt use LV snapshots
>
> because it gives you a backup of a 'dirty' filesystem.  that is, a snapshot 
> when it's mounted, and without any guarantees about all processes having 
> flushed important data to disk.
>
> recovering from such a backup is to the system just like recovering from a 
> 'pull the plug' event.  In most cases an fsck is enough and the (little) lost 
> data is within reason for a catastrophic failure.  In other cases (usually 
> when a busy database is involved), it's just not OK,  you could recover data 
> that is totally inconsistent, maybe needing a complex analysis to bring it 
> back to a reasonable state.
>
> IOW, it's better to use a 'normal' backup system, and be sure to get 
> cooperation from any DB system.
>
> --
> Javier
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

Hi All,

I have tested both the backup and restore scripts by doing an actual
backup and restore operation on my computer.

For your convenience, I have attached the final backup and restore
scripts in this email.

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
My Secondary Blog: http://enmingteo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@xxxxxxxxx
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore

Attachment: xen-dom0-domU-cloning-script.sh.txt
Description: Text document

Attachment: restore.sh.txt
Description: Text document

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>