Gentoo Archives: gentoo-user

From: "Singapore Citizen Mr. Teo En Ming (Zhang Enming) 张恩鸣 " <space.time.universe@×××××.com>
To: gentoo-user@l.g.o
Cc: "space.time.universe@×××××.com" <space.time.universe@×××××.com>, "teoenming@×××××××.com" <teoenming@×××××××.com>, zhang_enming@×××××××.com
Subject: [gentoo-user] Anyone using fsarchiver to backup their Linux filesystems?
Date: Fri, 24 Sep 2010 06:17:34
Message-Id: 4C9C4250.4020505@gmail.com
fsarchiver: http://www.fsarchiver.org/Main_Page

I am using it to backup my Linux ext4 filesystems and Logical Volume 
Manager 2 (LVM2) logical volumes.

Here is a very simple Linux shell script which I wrote to backup my 
/boot filesystem as well as the host operating system's volume group.

<CODE>
#!/bin/sh

DESTDIR=/media/usbharddisk
FILENAME=22sep2010-wed.fsa
BOOT=/dev/sda1
OPTIONS="-A -j 2"

fsarchiver savefs $DESTDIR/$FILENAME $BOOT /dev/vg_fedora11_host/lv_home 
/dev/vg_fedora11_host/lv_root /dev/vg_fedora11_host/lv_var \
$OPTIONS
</CODE>

Specifying the option "-A" allows me to do a live backup of the 
filesystems while they are mounted read-write. The option "-j2" allows 
me to use 2 compression threads (I am using Intel Pentium Dual Core 
E6300 processor @ 2800 MHz).

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) 
BEng(Hons)(Mechanical Engineering)
Citizenship: Singapore Citizen/Singaporean
Alma Maters:
[1] Singapore Polytechnic (Graduated 1998)
[2] National University of Singapore (Graduated 2006)
Facebook account: Teo En Ming (Zhang Enming)
Facebook link: http://www.facebook.com/profile.php?id=100000750083982
Facebook photos: 
http://www.facebook.com/profile.php?id=100000750083982#!/profile.php?id=100000750083982&v=photos
Facebook videos: 
http://www.facebook.com/profile.php?id=100000750083982&v=app_2392950137
Mobile Phone (Starhub pre-paid): +65-8369-2618
Windows Live Messenger: teoenming-at-hotmail.com
Location: Bedok Reservoir Road, Singapore
ZIP: 470103
My Open Letter (Plea for Medical Help/Assistance) to World Leaders 
(Updated 28 August 2010):-
http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html
http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html
http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml
Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore #1: 
http://i53.tinypic.com/207tamp.jpg
Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore #2: 
http://img713.imageshack.us/img713/7534/enmingteodscf2511.jpg
Singapore Citizen Mr. Teo En Ming (Zhang Enming) sues God for being too 
busy and unresponsive.