Added pgsql (PostgreSQL) handler, with vservers support.
[matthijs/upstream/backupninja.git] / etc / backup.d / example.pgsql
1 ### backupninja PostgreSQL config file ###
2
3 # backupdir = <dir> (default: /var/backups/postgres)
4 # where to dump the backups
5 #
6 # databases = < all | db1 db2 db3 > (default = all)
7 # which databases to backup. should either be the word 'all' or a 
8 # space separated list of database names.
9 # Note: when using 'all', pg_dumpall is used instead of pg_dump, which means
10 # that cluster-wide data (such as users and groups) are saved.
11 #
12 # compress = < yes | no > (default = yes)
13 # if yes, compress the pg_dump output. 
14 #
15 # vsname = <vserver> (no default)
16 # what vserver to operate on, only used if vserver = yes in /etc/backupninja.conf
17 # if you do not specify a vsname the host will be operated on
18 # Note: if operating on a vserver, $VROOTDIR will be prepended to backupdir.
19