summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-xbin/reproducible_maintenance.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh
index c6e7c63a..d742db62 100755
--- a/bin/reproducible_maintenance.sh
+++ b/bin/reproducible_maintenance.sh
@@ -45,6 +45,11 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
# make the backup public
ln -s -f "$BACKUPFILE.xz" $BASE/reproducible.sql.xz
+
+ # recreate documentation of database
+ mkdir -p $BASE/schema
+ SCHEMAFILE="$BASE/schema/reproducibledb.html"
+ postgresql_autodoc -d $PGDATABASE -t html -f "$SCHEMAFILE"
fi
fi