diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 5 |
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 |