gentoo-amd64  

Re: [gentoo-amd64] Re: Anybody else having problems with audio/vidio apps and glibc-2.5?

Bob Sanders
Tue, 24 Oct 2006 08:04:34 -0700

Jamie, mused, then expounded:
> 
> A good piece of advice and one that I really should follow.
> What is the best way to take an image of the Gentoo install?
> In my case my Gentoo install resides on /dev/hda2 (boot) ; /dev/hda3
> (swap) and /dev/hda5 (root) - is it possible to use something like dd to
> image these partitions to a disk somewhere else on my network? Is this a
> good/bad/non-workable idea?
>

I use rsnapshot to automatically backup a few servers to save
the data onto a raid 5 disk array.  I have it set to take daily and weekly
snapshots of the data.

As to the root partitions, I run xfs so that I can attach a USB or
Firewire hard drive and do an xfs dump/restore, which copies the
partition I'm after -

      xfsdump -l 0 - /sourcedisk | xfsrestore - /targetdisk/

The nice thing about xfsdump/xfsrestore is the partitons don't have to be
the same size.  The backup partition just has to be as big or bigger than
the original.  But I generally don't make backup partitions, just use it
when swapping out hard drives.

After the copy, I run xfs_check or xfs_repair to verify the new partition.

As far as worrying about the root partition, I don't.  Typically, I
can have a functional Gentoo system back to where it's usable for
it's main function in about 2 hrs.  Desktop and nice things by the
next day.  I learned a long time ago not to worry about the operating
system and just be concerned about the important things - the data.
The os can always be re-installed.
 
Bob 
-  
-- 
gentoo-amd64@gentoo.org mailing list