File: amanda-client-postgresql.conf.in

package info (click to toggle)
amanda 1%3A3.3.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 22,360 kB
  • sloc: ansic: 214,899; perl: 58,075; sh: 16,954; xml: 13,853; makefile: 2,228; awk: 431; lex: 405; yacc: 343; tcl: 118; sql: 19; sed: 16; php: 2
file content (46 lines) | stat: -rw-r--r-- 1,891 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# amanda-postgresql.conf - sample Amanda client configuration file for Oracle agent.
#
# This file normally goes in @CONFIG_DIR@/amanda-client.conf.
#

conf "@DEFAULT_CONFIG@"		# your config name

index_server "@DEFAULT_SERVER@"	# your amindexd server
tape_server  "@DEFAULT_TAPE_SERVER@"	# your amidxtaped server
#tapedev      "@EXAMPLE_TAPEDEV@"	# your tape device
			# if not set, Use configure or ask server.
			# if set to empty string "", ask server
			# amrecover will use the changer if set to the value
			# of 'amrecover_changer' in the server amanda.conf.

#   auth	- authentication scheme to use between server and client.
#		  Valid values are "bsd", "bsdudp", "bsdtcp", "krb5", "local",
#		  "rsh" and "ssh".  
#		  Default: [auth "bsdtcp"]
auth "bsdtcp"

# your ssh keys file if you use ssh auth
ssh_keys "/var/lib/amanda/.ssh/id_rsa_amrecover"

# Use /etc/amanda/pgpassfile for authentication credentials
# (Note: for PostgreSQL 8.0.x, you must use PG-PASSWORD instead)
# Should contain an appropriate line for foo (below).Example:
#   localhost:*:*:amandabackup:my_backup_password
# The file must be owned by the Amanda user with permissions 0600
property "PG-PASSFILE" "/etc/amanda/pgpassfile"

# For diskname "foo"...
#   Connect to localhost
property "foo-PG-HOST" "localhost"
#   Connect to port 5432 (PostgreSQL's default)
property "foo-PG-PORT" "5432"
#   Connect as user amandabackup (Note: must be a superuser)
property "foo-PG-USER" "amandabackup"
#   Connect to database template1 (exists by default)
property "foo-PG-DB" "template1"
#   Database's data directory
property "foo-PG-DATADIR" "/var/postgresql/data"
#   Directory that archive_command (in postgresql.conf) copies WAL files to.
#   For this example:
#   archive_command = 'test ! -f /var/postgresql/archive/%f && cp %p /var/postgresql/archive/%f'
property "foo-PG-ARCHIVEDIR" "/var/postgresql/archive"