5 .
$BINDIR/backup_lock.sh
7 # make sure the destination directory exists
8 ${REMOTE_MKDIR} -p ${DST}
10 #LINKDEST="--link-dest ../hourly.1"
14 # do the backup itself (run a few times, since failing here kills the chain)
15 for i
in `seq 1 $TIMES`; do
16 ${RSYNC} ${RSYNCOPTS} --filter="merge $RULES" ${LINKDEST} ${SRC} ${REMOTE}:${DST}/hourly
.0
18 ${REMOTE_TOUCH} $DST/hourly
.0
20 .
$BINDIR/backup_unlock.sh