mysqldb-backup.sh: fix storage-cleanup

This commit is contained in:
Olaf Rempel 2006-11-05 20:17:16 +01:00
parent 85deb233f1
commit e5d3ca222d
1 changed files with 1 additions and 1 deletions

View File

@ -41,6 +41,6 @@ chown $STOR_USER $TMPDIR/database-$NOW.tar.gz
mv $TMPDIR/database-$NOW.tar.gz $STOR mv $TMPDIR/database-$NOW.tar.gz $STOR
# delete old files in storage # delete old files in storage
find $STOR -mtime $STOR_DAYS -exec rm {} \; find $STOR -mtime +$STOR_DAYS -exec rm {} \;
rm -rf $TMPDIR rm -rf $TMPDIR