Displaying 1 result from an estimated 1 matches for "bckhd01".
Did you mean:
bck001
2009 Jun 12
1
--compare-dest= dir list ?
...ify this list. If a have
only one dir it's ok, but if I have 2 or more dir I have an error ?
Here is my script:
#!/bin/bash
SSH_USER=
SSH_HOST=
TOBCK=/
EXCLUDES=/root/bckscript/ns200176/excludes
LOG=/root/bckscript/ns200176/rsync_$(date +'%Y-%m-%d_%H.%M.S').log
mount /dev/sda1 /mnt/bckhd01
BACKUPDIR=/mnt/bckhd01/ns200176/$(date +'%A')
COMPAREDIR=""
LIST=$(ls /mnt/bckhd01/ns200176/)
for i in $LIST; do
COMPAREDIR="$COMPAREDIR/mnt/bckhd01/ns200176.ovh.net/$i "
done
OPTS="--verbose --progress --archive --hard-links --ignore-errors
--delete-excl...