Hi,

Here is my config file

HOSTTOBACKUP1=ctlrws001
SOURCE1=/opt/mscdr/arb821/Server
TARGET1=/opt/mscdr/daily.0/arb821/Server


and the my script

E1=/opt/mscdr/arb821/Server/transmissionData
E2=/opt/mscdr/arb821/Server/logs
E3=/opt/mscdr/arb821/Server/temp
E4=/opt/mscdr/arb821/Server/altavista

rsync -az -t -e ssh -vv --delete --exclude $E1  --exclude $E2 --exclude $E3
--exclude $E4  --delete-excluded --bwlimit=1000 $HOSTTOBACKUP:$SOURCE
$TARGET >$tempfile 2>&1

Regards,
Madhavan

On 7/10/07, Wayne Davison <[EMAIL PROTECTED]> wrote:

On Tue, Jul 10, 2007 at 03:11:05PM +0200, Giuliano Gavazzi wrote:
> In the last sentence the term "file" is  used, that for consistency
> should not include directories.

There is some inconsistency in the word "file" since it includes dirs in
its generic sense, but can be used as a short-hand for "regular file"
(or sometimes non-dir) which excludes dirs.  I've improved that section
to try to avoid this ambiguity.

..wayne..
--
To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to