Data Recovery

Jerry McAllister jerrymc at msu.edu
Thu Nov 30 08:26:41 PST 2006


On Thu, Nov 30, 2006 at 03:47:53PM +0100, Christian Walther wrote:

> I don't think that rsync can cope with hardlinks.
> Best way to do a "backup" like this is:
> 
> tar -clf - / | ( cd /ad2 ; tar -xf - )
> 
> The "-l" flag will stay on the specified filesystem. If you forget
> this option tar (and any other command, even cp and rsync with their
> respective option) will copy /ad2 into itself, e.g. /ad2/ad2, which
> might lead to a kind of recursion.

No.  Tar isn't good enough.
Use dump/restore.
It is made for that.

////jerry

> 
> BTW: No, there isn't any tool that might recover from a desaster like
> the one you specified. Either the files you describe as being "fried"
> have either been overwritten with some other content, or changed in
> any other way. You need a backup to recover from this. ;)
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list