Gentoo Archives: gentoo-amd64

From: Bob Sanders <rsanders@×××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Anybody else having problems with audio/vidio apps and glibc-2.5?
Date: Tue, 24 Oct 2006 15:06:11
Message-Id: 20061024150340.GB351256@sgi.com
In Reply to: Re: [gentoo-amd64] Re: Anybody else having problems with audio/vidio apps and glibc-2.5? by Jamie
1 Jamie, mused, then expounded:
2 >
3 > A good piece of advice and one that I really should follow.
4 > What is the best way to take an image of the Gentoo install?
5 > In my case my Gentoo install resides on /dev/hda2 (boot) ; /dev/hda3
6 > (swap) and /dev/hda5 (root) - is it possible to use something like dd to
7 > image these partitions to a disk somewhere else on my network? Is this a
8 > good/bad/non-workable idea?
9 >
10
11 I use rsnapshot to automatically backup a few servers to save
12 the data onto a raid 5 disk array. I have it set to take daily and weekly
13 snapshots of the data.
14
15 As to the root partitions, I run xfs so that I can attach a USB or
16 Firewire hard drive and do an xfs dump/restore, which copies the
17 partition I'm after -
18
19 xfsdump -l 0 - /sourcedisk | xfsrestore - /targetdisk/
20
21 The nice thing about xfsdump/xfsrestore is the partitons don't have to be
22 the same size. The backup partition just has to be as big or bigger than
23 the original. But I generally don't make backup partitions, just use it
24 when swapping out hard drives.
25
26 After the copy, I run xfs_check or xfs_repair to verify the new partition.
27
28 As far as worrying about the root partition, I don't. Typically, I
29 can have a functional Gentoo system back to where it's usable for
30 it's main function in about 2 hrs. Desktop and nice things by the
31 next day. I learned a long time ago not to worry about the operating
32 system and just be concerned about the important things - the data.
33 The os can always be re-installed.
34
35 Bob
36 -
37 --
38 gentoo-amd64@g.o mailing list