summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2016-12-26 18:28:26 +0100
committerHolger Levsen <holger@layer-acht.org>2016-12-26 18:30:05 +0100
commit49de9629b99a6ec277e96221de7421dc0706add5 (patch)
tree1a13a79bebbb36b118f40802633230342d907fc5
parent50c132e614377b3101284cf53abd9d1a1c471b09 (diff)
downloadjenkins.debian.net-49de9629b99a6ec277e96221de7421dc0706add5.tar.xz
reproducible debian: run pg_dump with -O --column-inserts to make easier to import the dump in a non-postgres db
-rwxr-xr-xbin/reproducible_maintenance.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index e6fb4e13..b1024b0a 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 $PGDATABASE > "$BACKUPFILE"
+ pg_dump -O --column-inserts $PGDATABASE > "$BACKUPFILE"
xz "$BACKUPFILE"
# make the backup public