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 |
1 | fsarchiver: http://www.fsarchiver.org/Main_Page |
2 | |
3 | I am using it to backup my Linux ext4 filesystems and Logical Volume |
4 | Manager 2 (LVM2) logical volumes. |
5 | |
6 | Here is a very simple Linux shell script which I wrote to backup my |
7 | /boot filesystem as well as the host operating system's volume group. |
8 | |
9 | <CODE> |
10 | #!/bin/sh |
11 | |
12 | DESTDIR=/media/usbharddisk |
13 | FILENAME=22sep2010-wed.fsa |
14 | BOOT=/dev/sda1 |
15 | OPTIONS="-A -j 2" |
16 | |
17 | fsarchiver savefs $DESTDIR/$FILENAME $BOOT /dev/vg_fedora11_host/lv_home |
18 | /dev/vg_fedora11_host/lv_root /dev/vg_fedora11_host/lv_var \ |
19 | $OPTIONS |
20 | </CODE> |
21 | |
22 | Specifying the option "-A" allows me to do a live backup of the |
23 | filesystems while they are mounted read-write. The option "-j2" allows |
24 | me to use 2 compression threads (I am using Intel Pentium Dual Core |
25 | E6300 processor @ 2800 MHz). |
26 | |
27 | -- |
28 | Yours sincerely, |
29 | |
30 | Mr. Teo En Ming (Zhang Enming) 张恩鸣 Dip(Mechatronics) |
31 | BEng(Hons)(Mechanical Engineering) |
32 | Citizenship: Singapore Citizen/Singaporean |
33 | Alma Maters: |
34 | [1] Singapore Polytechnic (Graduated 1998) |
35 | [2] National University of Singapore (Graduated 2006) |
36 | Facebook account: Teo En Ming (Zhang Enming) |
37 | Facebook link: http://www.facebook.com/profile.php?id=100000750083982 |
38 | Facebook photos: |
39 | http://www.facebook.com/profile.php?id=100000750083982#!/profile.php?id=100000750083982&v=photos |
40 | Facebook videos: |
41 | http://www.facebook.com/profile.php?id=100000750083982&v=app_2392950137 |
42 | Mobile Phone (Starhub pre-paid): +65-8369-2618 |
43 | Windows Live Messenger: teoenming-at-hotmail.com |
44 | Location: Bedok Reservoir Road, Singapore |
45 | ZIP: 470103 |
46 | My Open Letter (Plea for Medical Help/Assistance) to World Leaders |
47 | (Updated 28 August 2010):- |
48 | http://lists.mcs.anl.gov/pipermail/mpich-discuss/2010-August/007811.html |
49 | http://mythtv.org/pipermail/mythtv-users/2010-August/295952.html |
50 | http://archives.gentoo.org/gentoo-user/msg_f6a341d9623fda17880159b137c07335.xml |
51 | Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore #1: |
52 | http://i53.tinypic.com/207tamp.jpg |
53 | Photo of Mr. Teo En Ming (Zhang Enming) 张恩鸣 of Singapore #2: |
54 | http://img713.imageshack.us/img713/7534/enmingteodscf2511.jpg |
55 | Singapore Citizen Mr. Teo En Ming (Zhang Enming) sues God for being too |
56 | busy and unresponsive. |