aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2005-08-09 20:59:20 +0000
committerintrigeri <intrigeri@boum.org>2005-08-09 20:59:20 +0000
commitddaceb7ddae3d4e24657d7ce1d750cfa3e4f05b3 (patch)
treed56550c6fd74cf39c1daa768ecc84b53cdea5b72 /etc
parent540f7e0f7c34b7a366a80f68ee8ea4dd32c89ecc (diff)
downloadbackupninja-ddaceb7ddae3d4e24657d7ce1d750cfa3e4f05b3.tar.gz
backupninja-ddaceb7ddae3d4e24657d7ce1d750cfa3e4f05b3.tar.bz2
Added helper for pgsql handler.
Diffstat (limited to 'etc')
-rw-r--r--etc/backup.d/example.pgsql17
1 files changed, 9 insertions, 8 deletions
diff --git a/etc/backup.d/example.pgsql b/etc/backup.d/example.pgsql
index 8313bd4..d9aab42 100644
--- a/etc/backup.d/example.pgsql
+++ b/etc/backup.d/example.pgsql
@@ -1,19 +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 output.
-#
-# 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.
+# if yes, compress the pg_dump/pg_dumpall output.
+