Imported Upstream version 3.1.0
[debian/amanda] / example / amanda-client-postgresql.conf.in
1 # amanda-postgresql.conf - sample Amanda client configuration file for Oracle agent.
2 #
3 # This file normally goes in @CONFIG_DIR@/amanda-client.conf.
4 #
5
6 conf "@DEFAULT_CONFIG@"         # your config name
7
8 index_server "@DEFAULT_SERVER@" # your amindexd server
9 tape_server  "@DEFAULT_TAPE_SERVER@"    # your amidxtaped server
10 #tapedev      "@EXAMPLE_TAPEDEV@"       # your tape device
11                         # if not set, Use configure or ask server.
12                         # if set to empty string "", ask server
13                         # amrecover will use the changer if set to the value
14                         # of 'amrecover_changer' in the server amanda.conf.
15
16 #   auth        - authentication scheme to use between server and client.
17 #                 Valid values are "bsd", "bsdudp", "bsdtcp", "krb5", "local",
18 #                 "rsh" and "ssh".  
19 #                 Default: [auth "bsdtcp"]
20 auth "bsdtcp"
21
22 # your ssh keys file if you use ssh auth
23 ssh_keys "/var/lib/amanda/.ssh/id_rsa_amrecover"
24
25 # Use /etc/amanda/pgpassfile for authentication credentials
26 # (Note: for PostgreSQL 8.0.x, you must use PG-PASSWORD instead)
27 # Should contain an appropriate line for foo (below).Example:
28 #   localhost:*:*:amandabackup:my_backup_password
29 # The file must be owned by the Amanda user with permissions 0600
30 property "PG-PASSFILE" "/etc/amanda/pgpassfile"
31
32 # For diskname "foo"...
33 #   Connect to localhost
34 property "foo-PG-HOST" "localhost"
35 #   Connect to port 5432 (PostgreSQL's default)
36 property "foo-PG-PORT" "5432"
37 #   Connect as user amandabackup (Note: must be a superuser)
38 property "foo-PG-USER" "amandabackup"
39 #   Connect to database template1 (exists by default)
40 property "foo-PG-DB" "template1"
41 #   Database's data directory
42 property "foo-PG-DATADIR" "/var/postgresql/data"
43 #   Directory that archive_command (in postgresql.conf) copies WAL files to.
44 #   For this example:
45 #   archive_command = 'test ! -f /var/postgresql/archive/%f && cp %p /var/postgresql/archive/%f'
46 property "foo-PG-ARCHIVEDIR" "/var/postgresql/archive"