# Define default settings
#
RSYNC_SRC=/srv/mirror/liveboot
-RSYNC_FILTER=''
+RSYNC_FILTER='--include=liveboot-* --include=pending-approval --exclude=*'
#
# destination patterns, must contain username and path and trailing slash, aka $USER@$HOST/$PATH/
# staging (mgmt9)
RSYNC_DST4="liveboot@10.252.1.1/liveboot/"
# dc1+2 (mgmt1)
-RSYNC_DST5="liveboot@10.1.1.1/liveboot/"
+RSYNC_DST5="liveboot@10.1.1.1/liveboot-dcmanager/"
ping_and_rsync() {
#
#
if ping -c 1 $(echo $1 | sed -s 's#.*@\(.*\)/.*/#\1#' ) > /dev/null ; then
echo "Now rsyncing results to $1 ..."
- rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete --delete-excluded $RSYNC_FILTER $RSYNC_SRC/ rsync://$1
+ rsync --password-file /etc/rsynclivebuild-send.pass -avv --delete $RSYNC_FILTER $RSYNC_SRC/ rsync://$1
figlet "$2 OK"
else
echo "Warning: $1 down."