Displaying 1 result from an estimated 1 matches for "mount_for_rsync".
2011 Sep 12
2
Ignoring /boot
...uot;
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}
----- end of script -----
When I run it I get the followin...