]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.dinstall
wording change
[dak.git] / config / debian / cron.dinstall
index 2478ed4bf3db69489d42ea598e9d6f08cbbd672d..b8b25d7a3d0911b072bb57991ad596825ac03117 100755 (executable)
@@ -250,7 +250,7 @@ ts
 # Compress psql backups
 echo "Compress old psql backups"
 (cd $base/backup/
-       find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' | 
+       find -maxdepth 1 -mindepth 1 -type f -name 'dump_*' \! -name '*.bz2' \! -name '*.gz' -mtime +1 
        while read dumpname; do
                echo "Compressing $dumpname"
                bzip2 -9 "$dumpname"