X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=34664c7df453fae34fa5ea29c365d55bcfbf9032;hb=330a2a6041fc51b26ae19c795a059d888733d6da;hp=aea863d28ffb2756d09d2f97964cb324a36ce725;hpb=13b7df7bec375026c6870054f20eb1743470ea19;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index aea863d2..34664c7d 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -46,17 +46,17 @@ function pgdump_post() { cd $base/backup POSTDUMP=$(date +%Y.%m.%d-%H:%M:%S) pg_dump projectb > $base/backup/dump_$POSTDUMP - pg_dumpall --globals-only > $base/backup/dumpall_$POSTDUMP + #pg_dumpall --globals-only > $base/backup/dumpall_$POSTDUMP ln -sf $base/backup/dump_$POSTDUMP current - ln -sf $base/backup/dumpall_$POSTDUMP currentall + #ln -sf $base/backup/dumpall_$POSTDUMP currentall } # Load the dak-dev projectb function pgdakdev() { cd $base/backup echo "drop database projectb" | psql -p 5433 template1 - cat currentall | psql -p 5433 template1 - createdb -p 5433 -T template0 projectb + #cat currentall | psql -p 5433 template1 + createdb -p 5433 -T template1 projectb fgrep -v '\connect' current | psql -p 5433 projectb } @@ -472,9 +472,9 @@ function merkel3() { function mirrorpush() { log "Starting the mirrorpush" - date -u > /srv/ftp-master.debian.org/web/mirrorstart - echo "Using dak v1" >> /srv/ftp-master.debian.org/web/mirrorstart - echo "Running on host $(hostname -f)" >> /srv/ftp-master.debian.org/web/mirrorstart + date -u > /srv/ftp.debian.org/web/mirrorstart + echo "Using dak v1" >> /srv/ftp.debian.org/web/mirrorstart + echo "Running on host $(hostname -f)" >> /srv/ftp.debian.org/web/mirrorstart sudo -H -u archvsync /home/archvsync/runmirrors > ~dak/runmirrors.log 2>&1 & }