aboutsummaryrefslogtreecommitdiff
path: root/etc/backup.d/example.pgsql
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2005-08-09 20:28:52 +0000
committerintrigeri <intrigeri@boum.org>2005-08-09 20:28:52 +0000
commit773c194279bb6e1ca91de76b82fe94c6e2ff624a (patch)
tree2753ce1fd093444f08236f5db835508ce24d6910 /etc/backup.d/example.pgsql
parentb5120bcd7b12047e802a8067f2275f0d3d2ebeba (diff)
downloadbackupninja-773c194279bb6e1ca91de76b82fe94c6e2ff624a.tar.gz
backupninja-773c194279bb6e1ca91de76b82fe94c6e2ff624a.tar.bz2
Added pgsql (PostgreSQL) handler, with vservers support.
Diffstat (limited to 'etc/backup.d/example.pgsql')
-rw-r--r--etc/backup.d/example.pgsql19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/backup.d/example.pgsql b/etc/backup.d/example.pgsql
new file mode 100644
index 0000000..8313bd4
--- /dev/null
+++ b/etc/backup.d/example.pgsql
@@ -0,0 +1,19 @@
+### backupninja PostgreSQL config file ###
+
+# 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.
+