Displaying 1 result from an estimated 1 matches for "bak_path".
2008 Mar 28
3
Major rsync issue - overwriting files!!!
...tion to the beginning of the
path (--link-dest variable, for instance)
the script, in it's entirety is below. Please HELP!!!!
#!/bin/bash
export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
### Properties ###
LOG=/Library/Logs/rsyncREM.log
SRVR_IP=*.*.*.*
BAK_DIR=`date +%A`
SRC_DIR=/Volumes/REM
BAK_PATH="/Volumes/REM Backup/RsyncBackups/REM"
LINK_DEST="/Volumes/REM Backup/RsyncBackups/REM/Daily/PreviousBackups1"
EXCLUDES=/Library/Scripts/rsync/exclude.txt
### rsync options ###
OPTS="-Eapztc --links --ignore-errors --exclude-from=$EXCLUDES
--delete-excluded --link-dest=$L...