X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=example%2Famanda-client-postgresql.conf.in;fp=example%2Famanda-client-postgresql.conf.in;h=f917a5bd5c3831c2548a141f085220cec3eaf37d;hb=d5853102f67d85d8e169f9dbe973ad573306c215;hp=0000000000000000000000000000000000000000;hpb=b93e5b5a13be7e970bc333acbe885f5b518300e1;p=debian%2Famanda diff --git a/example/amanda-client-postgresql.conf.in b/example/amanda-client-postgresql.conf.in new file mode 100644 index 0000000..f917a5b --- /dev/null +++ b/example/amanda-client-postgresql.conf.in @@ -0,0 +1,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"