table of contents
AMADDCLIENT(8) | System Administration Commands | AMADDCLIENT(8) |
NAME¶
amaddclient - program to add client to an existing Amanda configuration
SYNOPSIS¶
amaddclient --config config ||
--client client name ||
--diskdev directory to backup [--m]
[--dumptype string] [--includefile string]
[--includelist string] [--excludefile string]
[--excludelist string] [--user string]
[--auth string] [--gnutar_list_dir string]
[--amandates string] [--no-client-update] [--batch]
[--help]
DESCRIPTION¶
After Amanda rpms are successfully installed and amserverconfig is run, amaddclient will add client to the Amanda configuration. amaddclient create or update Amanda disklist(5) file and create or update /var/lib/amanda/.amandahosts file on the server.
If --no-client-update is not specified, amaddclient will attempt to update or create /var/lib/amanda/.amandahost, amanda-client.conf and gnutar-lists on the client. (See ssh-keygen(1) and ssh-add(1) for detail.)
amaddclient must be run by user backup.
--config, --client and --diskdev must be specified.
OPTIONS¶
Options may be abbreviated, as long as the abbreviation is not ambiguous. Option argument can either separated by '=' or a space. Example: --conf=v253, --client client8.zmanda.com
--config config
--client client
--diskdev diskdev
--m
Note: if disklist(5) file has been modified manually, this option might not work.
--dumptype dumptype
--user string
--auth string
--gnutar_list_dir string
--amandates string
--batch
--no-client-update
--help
If any of the following four options are used, amaddclient will extend the dumptype definition to an in-line definition in the disklist(5) file.
--includefile string
--includelist string
--excludefile string
--excludelist string
FILES¶
/var/lib/amanda/template.d
/var/lib/amanda
/var/lib/amanda/.amandahosts
/var/lib/amanda/gnutar-lists
/etc/amanda/$config
/etc/amanda/template.d
/etc/amandates
/tmp/amanda
RETURN VALUE¶
On success, zero is returned. On error, 1 is returned.
SEE ALSO¶
amanda(8), amanda.conf(5), amserverconfig(8), ssh-keygen(1), ssh-add(1), scp(1)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR¶
Kevin Till <kevin.till@zmanda.com>
12/01/2017 | Amanda 3.5.1 |