Index: openacs-4/etc/backup.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/backup.sh,v diff -u -r1.4 -r1.5 --- openacs-4/etc/backup.sh 11 Feb 2004 13:49:35 -0000 1.4 +++ openacs-4/etc/backup.sh 19 Feb 2004 11:01:18 -0000 1.5 @@ -177,8 +177,8 @@ # strip directory of slashes when using it in the backup file name FULLNAME=$BACKUPDIR/$DATE-$COMPUTER-${directory//\//-}-backup-$TYPE.tar.gz # to use bzip2 instead of gzip, change z to j in the tar flags - cd $NEWER - tar -zcpsh . --file $FULLNAME $directory + cd $directory + tar -zcpsh . --file $FULLNAME $NEWER $CHOWN $BACKUPUSER $FULLNAME $CHMOD 660 $FULLNAME if [[ -n $OTHERHOST ]]