Diff for /sludge_scripts/backup.sh between versions 1.1 and 1.2

version 1.1, 2011/06/07 12:34:47 version 1.2, 2011/06/07 13:01:03
Line 17  cd demandred Line 17  cd demandred
 for DIR in "${DIRS[@]}"; do  for DIR in "${DIRS[@]}"; do
         /usr/bin/rsync $OPTIONS $REMOTE:$DIR . >> $LOGDIR/backup-$DATE.log 2>&1          /usr/bin/rsync $OPTIONS $REMOTE:$DIR . >> $LOGDIR/backup-$DATE.log 2>&1
 done  done
 cd -  cd - > /dev/null 2>&1
   
 mkdir -p lanfear  mkdir -p lanfear
 cd lanfear  cd lanfear
 for DIR in "${LANFEAR_DIRS[@]}"; do  for DIR in "${LANFEAR_DIRS[@]}"; do
         /usr/bin/rsync $OPTIONS $REMOTE:$DIR . >> $LOGDIR/backup-$DATE.log 2>&1          /usr/bin/rsync $OPTIONS $REMOTE:$DIR . >> $LOGDIR/backup-$DATE.log 2>&1
 done  done
 cd -  cd - > /dev/null 2>&1
   
 ##  ##
 ## Compress logs after 5 days and delete logs after 6 months  ## Compress logs after 5 days and delete logs after 6 months

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>