[buug] backup a dir with hard links
jwithers
grayarea at reddagger.org
Tue Feb 13 12:45:32 PST 2007
http://lists.samba.org/archive/rsync/2004-June/009666.html
On Tue, 2007-02-13 at 11:56 -0800, John de la Garza wrote:
> If I have a file and create a hard link to it like:
>
> touch foo
> ln foo bar
>
> and want to back up the directory that contains this link, it seems
> that cp and rsync are not able to keep the link structure but if I
> use tar it does keep it
>
> Is it possible to keep the links with cp or rsync or must I use tar
> or another archiving thing? I have tried cp -RH which is not the way
> to go...
> _______________________________________________
> Buug mailing list
> Buug at weak.org
> http://www.weak.org/mailman/listinfo/buug
--
jwithers <grayarea at reddagger.org>
More information about the buug
mailing list