X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=e10365502535b8f2a0bacd183665b72aaa4b4b22;hb=1617994b76d0cd90ce89a7e6d9f7bb886439f010;hp=fa565c4e7e45adc3b8c93508d27472dc220b0f56;hpb=e3d2c47d31abaee8ba54fa215704d81bd2be0073;p=dak.git diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index fa565c4e..e1036550 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -46,6 +46,12 @@ ssh -o Batchmode=yes -o ConnectTimeout=30 -o SetupTimeout=30 -2 -i ${base}/s3kr1 $scriptsdir/generate-di +# Push files over to security +#pg_dump -a -F p -t files | sed -e "s,^COPY files (,DELETE FROM external_files; COPY external_files (," | xz -3 | \ +# ssh -o BatchMode=yes -o ConnectTimeout=30 -o SetupTimeout=30 -2 -i ${base}/s3kr1t/push-external_files dak@wherever sync +# +# The key should run the following command: +# 'xzcat | pg_restore -1 -a' # do the buildd key updates BUILDDFUN=$(mktemp -p "${TMPDIR}" BUILDDFUN.XXXXXX)