Hi.

I am taking backup in following :

rsync -az -e ssh --delete $HOSTTOBACKUP:$SOURCE
$DR_BACKUP_DIR/hourly.0 >$tempfile 2>&1


I need to exclue the following:

$HOSTTOBACKUP/Dir1
and
$HOSTTOBACKUP/Dir2

how can I exclude?



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