diff options
author | Mattia Rizzolo <mattia@debian.org> | 2017-07-05 15:27:48 +0200 |
---|---|---|
committer | Mattia Rizzolo <mattia@debian.org> | 2017-07-05 15:27:48 +0200 |
commit | 6741942854d88bd58185766aa2e540f9159590ea (patch) | |
tree | 38016fab05dd498e491a3da588d9ebeea91e9d12 | |
parent | 28499d25927522eb951f3fa6dc1a745b2316b4ac (diff) | |
download | jenkins.debian.net-6741942854d88bd58185766aa2e540f9159590ea.tar.xz |
reproducible debian: maintenance: drop --column-inserts from pg_dump, it makes restore unecessary painful
originally this was done to allow restore in a non-postgres db, but we actually have no use for it, and really restore is too slow with this option on
Thanks: Faux for the suggestion
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
-rwxr-xr-x | bin/reproducible_maintenance.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index c2d348b9..202f8911 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -40,7 +40,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then if [ ! -f $BACKUPFILE.xz ] ; then # make the backup DATE=$(date '+%Y-%m-%d') - pg_dump -x -O --column-inserts $PGDATABASE > "$BACKUPFILE" + pg_dump -x -O $PGDATABASE > "$BACKUPFILE" xz "$BACKUPFILE" # make the backup public |