1 ### backupninja PostgreSQL config file ###
3 # vsname = <vserver> (no default)
4 # what vserver to operate on, only used if vserver = yes in /etc/backupninja.conf
5 # if you do not specify a vsname the host will be operated on
6 # Note: if operating on a vserver, $VROOTDIR will be prepended to backupdir.
8 # backupdir = <dir> (default: /var/backups/postgres)
9 # where to dump the backups
11 # databases = < all | db1 db2 db3 > (default = all)
12 # which databases to backup. should either be the word 'all' or a
13 # space separated list of database names.
14 # Note: when using 'all', pg_dumpall is used instead of pg_dump, which means
15 # that cluster-wide data (such as users and groups) are saved.
17 # compress = < yes | no > (default = yes)
18 # if yes, compress the pg_dump/pg_dumpall output.
20 ### You can also set the following variables in /etc/backupninja.conf:
21 # PGSQLDUMP: pg_dump path (default: /usr/bin/pg_dump)
22 # PGSQLDUMPALL: pg_dumpall path (default: /usr/bin/pg_dumpall)
23 # PGSQLUSER: user running PostgreSQL (default: postgres)