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

Re: [Xen-users] Re: How to Backup and Restore MBR within Logical Volumes?


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
  • Date: Thu, 12 Nov 2009 10:10:18 +0000
  • Cc: "Community assistance, encouragement, and advice for using Fedora." <fedora-list@xxxxxxxxxx>, space.time.universe@xxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx, Fedora Xen <fedora-xen@xxxxxxxxxx>
  • Delivery-date: Thu, 12 Nov 2009 02:11:46 -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=AmDYK3f5/k6ZhMTHL+dC9cNL+ttSfR49+Zd/N30RGPs7AwhIDsZdpwkCS7+kES4ZCF 6jA4skKNEA9tI7JG2uIdSmirvW3+FgC2pYkrrSDo36zeihlUvTMBVcbDHJiX2SNxKWHj tAWXWDgXU3rgd2MOEasyDdIhZBaM3CnbCw4BI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I don't think I will be using the LVM snapshot method. I will simply ensure that my domU is not running, then I proceed to do the losetup and kpartx procedure. Subsequently I will backup the MBR of my domU by dd-ing /dev/loopX and clone all the filesystems of the domU using fsarchiver.

I would like to use fsarchiver because it can support LZMA compression. LZMA can compress better than bzip2 and decompress 3x faster than bzip2. partimage only supports gzip and bzip2.

--
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

On Thu, Nov 12, 2009 at 10:02 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
On Thu, Nov 12, 2009 at 4:52 PM, Mr. Teo En Ming (Zhang Enming)
<space.time.universe@xxxxxxxxx> wrote:
> Now I can proceed with writing the
> backup and restore script for my Fedora 11 Dom0 (all partitions using LVM2
> logical volumes) and all of my Xen virtual machines (contained in logical
> volumes).

A reminder though: don't forget to create a "consistent", unchanging
version of domU storage before doing backup. Either by shutting down
domU, or by creating LVM snapshot first.

Also, if it comes to Windows domUs, I find ntfsclone is better than
fsarchiver. One of the reasons is that fsarchiver can not create
compressed files during restore.

--
Fajar




_______________________________________________
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®.