Displaying 2 results from an estimated 2 matches for "rsync_source".
2011 Jul 09
0
Problem with --dry-run
...nts,
I have written a backup script with rsync, which is working fine for a long
time. Now a problem has occured. which I am not able to solve by my own:
Before I am doing the backup I am checkig if there are any changes to backup
...
rsync --delete $RSYNC_EXCLUDE -avzne "$RSYNC_SSH" $RSYNC_SOURCE
$RSYNC_DESTINATION
But when I have created a path of new directories in $RSYNC_SOURCE e. g.
$RSYNC_SOURCE/new_dir/new_dir/new.file then its fails with ...
skipping daemon-excluded directory "$RSYNC_SOURCE/new_dir/new_dir"
*** Skipping any contents from this failed directory ***
sent 28...
2007 Sep 04
0
DO NOT REPLY [Bug 4621] "-p" option to simulate "mkdir -p" for rsync
...RSYNC_TARGET="$TARGET_DIR/$RSYNC_TARGET"
# Else if we got only 1 parameter, in this case - just take the file
name and store it under build root dir.
elif [ $# -eq 1 ]; then
RSYNC_TARGET="${TARGET_DIR}/${1##*/}"
fi
RSYNC_SOURCE="$1"
# Are we syncing directory as source?
# If we are syncing directory, then we need to make sure it exists for
rsync not fail.
# If we are syncing multiple file selection, the destination must be a
directory.
# If we are syncing multiple file selection...