Displaying 1 result from an estimated 1 matches for "dir_bkup_root".
2006 Jan 11
4
Shell Script Does not complete if rsync returns Code 24
...6.4-3.
I read the FAQ which describes how to write a wrapper.
http://samba.anu.edu.au/rsync/FAQ.html
The problem is that I have no clue what to do with this and or how to make
it work with my script.
Any help would be appreciated.
The script follows:
#!/bin/sh -e
# Assumes the existence of
#${DIR_BKUP_ROOT}/{Hour-1, Hour-2.....}
DIR_BKUP_ROOT="/data1/backup/Hourly"
backup=`cat /etc/snapshot/include.text`
excludefile=/etc/snapshot/exclude.text
INDEX=`cat /data1/backup/Hourly/last-bk.txt`
RM="/bin/rm"
CP="/bin/cp"
RSYNC="/usr/bin/rsync"
DATE="/bin/date"...