lib/tools.in(maketemp): really remove insecure fall-back if mktemp is missing, since...
[matthijs/upstream/backupninja.git] / examples / example.pgsql
1 ### backupninja PostgreSQL config file ###
2
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.
7
8 # backupdir = <dir> (default: /var/backups/postgres)
9 # where to dump the backups
10
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.
16
17 # compress = < yes | no > (default = yes)
18 # if yes, compress the pg_dump/pg_dumpall output. 
19
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)