[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: Data Backup and Restore Scripts for your Xen Servers


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
  • Date: Sat, 21 Nov 2009 00:25:12 +0800
  • Cc: space.time.universe@xxxxxxxxx
  • Delivery-date: Fri, 20 Nov 2009 08:26:18 -0800
  • 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=SMZmj5dKpD8XPHHmGEfBqioAYrwZDxSb1OfIvOoePjRPMtvokOURyh1LWO2E5DBefm ixSAUI4xL5RKaZ08EE1LVKxwJQIU1b+TTyNVypKfTvgt4mMIiOTn/yDvRIXMMC2I9AUo H5ybxx1NVP03h1gs+NyTDoHpV3UDPUBD9H4Sk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Thu, Nov 19, 2009 at 3:45 AM, Mr. Teo En Ming (Zhang Enming) <space.time.universe@xxxxxxxxx> wrote:
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.


Hi All,

I have performed an extensive testing of the restore of the data backup image set using my backup and restore scripts.

Two virtual machines, namely, openSUSE 11.2 PV domU, and Slackware64 13.0 HVM domU, did not restore properly.

Please refer to my latest updated restore script for the fixes to these problems.

Attached latest updated restore script.

--
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: restore.sh.txt
Description: Text document

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.