aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/example.pgsql
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/example.pgsql')
-rw-r--r--docs/examples/example.pgsql20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/examples/example.pgsql b/docs/examples/example.pgsql
new file mode 100644
index 0000000..d9aab42
--- /dev/null
+++ b/docs/examples/example.pgsql
@@ -0,0 +1,20 @@
+### backupninja PostgreSQL config file ###
+
+# vsname = <vserver> (no default)
+# what vserver to operate on, only used if vserver = yes in /etc/backupninja.conf
+# if you do not specify a vsname the host will be operated on
+# Note: if operating on a vserver, $VROOTDIR will be prepended to backupdir.
+
+# backupdir = <dir> (default: /var/backups/postgres)
+# where to dump the backups
+
+# databases = < all | db1 db2 db3 > (default = all)
+# which databases to backup. should either be the word 'all' or a
+# space separated list of database names.
+# Note: when using 'all', pg_dumpall is used instead of pg_dump, which means
+# that cluster-wide data (such as users and groups) are saved.
+
+# compress = < yes | no > (default = yes)
+# if yes, compress the pg_dump/pg_dumpall output.
+
+