Hi,<br><br>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.<br>
<br>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.<br><br>-- <br>Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)<br>
Alma Maters:<br>(1) Singapore Polytechnic<br>(2) National University of Singapore<br>My Primary Blog: <a href="http://teo-en-ming-aka-zhang-enming.blogspot.com">http://teo-en-ming-aka-zhang-enming.blogspot.com</a><br>My Secondary Blog: <a href="http://enmingteo.wordpress.com">http://enmingteo.wordpress.com</a><br>
My Youtube videos: <a href="http://www.youtube.com/user/enmingteo">http://www.youtube.com/user/enmingteo</a><br>Email: <a href="mailto:space.time.universe@gmail.com">space.time.universe@gmail.com</a><br>Mobile Phone (Starhub Prepaid): +65-8369-2618<br>
Street: Bedok Reservoir Road<br>Country: Singapore<br><br><div class="gmail_quote">On Thu, Nov 12, 2009 at 10:02 AM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:fajar@fajar.net">fajar@fajar.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, Nov 12, 2009 at 4:52 PM, Mr. Teo En Ming (Zhang Enming)<br>
<<a href="mailto:space.time.universe@gmail.com">space.time.universe@gmail.com</a>> wrote:<br>
> Now I can proceed with writing the<br>
> backup and restore script for my Fedora 11 Dom0 (all partitions using LVM2<br>
> logical volumes) and all of my Xen virtual machines (contained in logical<br>
> volumes).<br>
<br>
</div>A reminder though: don't forget to create a "consistent", unchanging<br>
version of domU storage before doing backup. Either by shutting down<br>
domU, or by creating LVM snapshot first.<br>
<br>
Also, if it comes to Windows domUs, I find ntfsclone is better than<br>
fsarchiver. One of the reasons is that fsarchiver can not create<br>
compressed files during restore.<br>
<br>
--<br>
<font color="#888888">Fajar<br>
</font></blockquote></div><br><br clear="all"><br><br>