X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=cron.daily;h=9537aaaa3458ae04dde89059b887191235835f71;hb=7b229c4db5ae4d45dc08cc94c63460395f8e06f1;hp=61f74db985dc27fea639c046ea5dd0f3686297a4;hpb=2e38e1b4845d2404e76bd9bb993a7025a1ed693c;p=dak.git diff --git a/cron.daily b/cron.daily index 61f74db9..9537aaaa 100755 --- a/cron.daily +++ b/cron.daily @@ -88,6 +88,11 @@ pg_dump projectb > /org/ftp.debian.org/backup/dump_$(date +%Y.%m.%d-%H:%M:%S) ################################################################################ +# Vacuum the database +echo "VACUUM; VACUUM ANALYZE;" | psql projectb 2>&1 | grep -v "^NOTICE: Skipping.*only table owner can VACUUM it$" + +################################################################################ + ulimit -m 90000 -d 90000 -s 10000 -v 90000 run-parts --report /org/ftp.debian.org/scripts/distmnt