3 # Executed daily via cron, out of katie's crontab.
6 export SCRIPTVARS=/org/security.debian.org/katie/vars-security
9 ################################################################################
11 rsync -ql ftp-master::indices/override\* $overridedir
14 find . -name override\*.gz -type f -maxdepth 1 -mindepth 1 | xargs gunzip -f
15 find . -type l -maxdepth 1 -mindepth 1 | xargs rm
20 rsync -ql non-us::indices/override\* .
21 find . -name override\*.gz -type f -maxdepth 1 -mindepth 1 | xargs gunzip
22 find . -type l -maxdepth 1 -mindepth 1 | xargs rm
31 for suite in $suites; do
32 for component in $components; do
33 for override_type in $override_types; do
34 case $override_type in
39 if [ ! "$type" = "skip" ]; then
40 $masterdir/natalie -q -S -t $override_type -s $suite -c $component < override.$suite.$component$type
46 ################################################################################
51 apt-ftparchive -q clean apt.conf-security
53 pg_dump obscurity > /org/security.debian.org/katie-backup/dump_$(date +%Y.%m.%d-%H:%M:%S)
57 echo "VACUUM; VACUUM ANALYZE;" | psql obscurity 2>&1 | egrep -v "^NOTICE: Skipping \"pg_.*only table or database owner can VACUUM it$|^VACUUM$"
60 ################################################################################