diff options
Diffstat (limited to 'main/postgresql/pg-restore.confd')
-rw-r--r-- | main/postgresql/pg-restore.confd | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/postgresql/pg-restore.confd b/main/postgresql/pg-restore.confd new file mode 100644 index 0000000000..18bff4c2a3 --- /dev/null +++ b/main/postgresql/pg-restore.confd @@ -0,0 +1,16 @@ + +# Enable this to dump databases on shutdown and restore on boot +# +#PGDUMP="/var/lib/postgresql/backup/databases.pgdump" + +# The dump file will be deleted once restored unless KEEP_DUMP is set. +# This is to avoid accidental restoring of running database. If you know what +# you are doing and want keep the dump, then enable the KEEP_DUMP option +# below. +# +#KEEP_DUMP=yes + +# If you enable the KEEP_DUMP bove you probably also want the --clean option +# the the pg_dumpall command. +#PG_DUMPALL_OPTS="--clean" + |