Date: Thu, 30 Nov 2006 15:53:24 +0000 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: Christian Walther <cptsalek@gmail.com>, Rachel Florentine <rachel_florentine@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: Data Recovery Message-ID: <456EFE74.2000406@dial.pipex.com> In-Reply-To: <14989d6e0611300647q3974e751hd84ac4e67c80cb0c@mail.gmail.com> References: <20061130112939.12787.qmail@web57808.mail.re3.yahoo.com> <456EE9E2.7070606@usm.cl> <14989d6e0611300647q3974e751hd84ac4e67c80cb0c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Christian Walther wrote:
> I don't think that rsync can cope with hardlinks.
yes it can. From the man page:
-H, --hard-links preserve hard links
Slower, but it copes.
> Best way to do a "backup" like this is:
>
> tar -clf - / | ( cd /ad2 ; tar -xf - )
Only if you want to copy every shred of data regardless of whether it
changed or not, as was previously noted.
--Alex
PS Backup gets used to mean at least two different things:
1) A single, separate copy of the "data" for which rsync is great.
Read the manpage as it has lots of configuration potential.
2) Effectively a partial transaction history for the data where you
can recover a file as it was, say, a week ago, for which dump and
restore are your friends. There's also a tool in the ports which does
something similar with rsync and separate trees named, I think, by date,
which is great if you have lots of disk space. Or you can use
snapshots, and again there is a tool in the ports whose name eludes me.
cd /usr/ports
make search name=rsync
make search name=snapshot
if you care.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?456EFE74.2000406>
