From owner-freebsd-questions@FreeBSD.ORG Mon Aug 9 18:10:19 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CCFB116A4D5 for ; Mon, 9 Aug 2004 18:10:19 +0000 (GMT) Received: from pearl.ibctech.ca (dev.eagle.ca [209.167.58.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B97CC43D1D for ; Mon, 9 Aug 2004 18:10:17 +0000 (GMT) (envelope-from iaccounts@ibctech.ca) Received: (qmail 26573 invoked by uid 1002); 9 Aug 2004 18:10:29 -0000 Received: from iaccounts@ibctech.ca by pearl.ibctech.ca by uid 89 with qmail-scanner-1.22 (clamscan: 0.73. spamassassin: 2.63. Clear:RC:1(127.0.0.1):. Processed in 3.026851 secs); 09 Aug 2004 18:10:29 -0000 Received: from unknown (HELO webmail.ibctech.ca) (127.0.0.1) by localhost.ibctech.ca with SMTP; 9 Aug 2004 18:10:26 -0000 Received: from 209.167.16.15 (SquirrelMail authenticated user steve@ibctech.ca); by webmail.ibctech.ca with HTTP; Mon, 9 Aug 2004 14:10:26 -0400 (EDT) Message-ID: <4797.209.167.16.15.1092075026.squirrel@209.167.16.15> Date: Mon, 9 Aug 2004 14:10:26 -0400 (EDT) From: "Steve Bertrand" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: rsync(1) and the -l(inks) option X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2004 18:10:20 -0000 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