Ben Short wrote:

> I have the following script that I'm writing to backup my gentoo linux system.
> ...
> RSYNC_OPTS="--archive --one-file-system --perms --executability --progress 
> --stats --delete-after --hard-links --keep-dirlinks --verbose --inplace"
> RSYNC_USER="bs"
> RSYNC_SERVER="192.168.6.6"
> RSYNC_MODULE="ben-desktop"
> RSYNC_PATH="/"
> RSYNC_EXCLUDES="--exclude=/usr/portage/distfiles --exclude=/tmp 
> --exclude=/var --exclude=/home --exclude=/root --exclude=/usr --exclude=/bin 
> --exclude=/opt --excl$
> 
> MOUNT_FOR_RSYNC="/boot"
> 
> mount ${MOUNT_FOR_RSYNC}
> 
> #ls -la /boot
> 
> rsync --dry-run ${RSYNC_OPTS} --rsync-path="sudo rsync" ${RSYNC_EXCLUDES} -e 
> ssh ${RSYNC_PATH} ${RSYNC_USER}@${RSYNC_SERVER}::${RSYNC_MODULE}
> 
> umount ${MOUNT_FOR_RSYNC}
> ...
> I would expect boot to have files in it? What is going wrong?

 -x, --one-file-system       don't cross filesystem boundaries

Berny
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
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