Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 14:10:26 -0400 (EDT)
From:      "Steve Bertrand" <iaccounts@ibctech.ca>
To:        freebsd-questions@freebsd.org
Subject:   rsync(1) and the -l(inks) option
Message-ID:  <4797.209.167.16.15.1092075026.squirrel@209.167.16.15>

next in thread | raw e-mail | index | archive | help
I am confused as to the -l option with rsync.

If I am to not use this option, does this mean that any symlinks will
be followed, and the entire directory structure of the location
pointed to by the link will be copied? eg...

# rsync -acr /home/steve steve@server.com:/home/steve/backup

If /home/steve had a symlink: /home/steve/tmp -> /var/tmp

would all the contents of /var/tmp be copied to the destination?

Now, what would be the best set of options to use if I want to
``clone'' one server onto another server so that everything is exactly
the same?

Tks,

Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4797.209.167.16.15.1092075026.squirrel>