Amaddclient

Table of contents
  1. 1. NAME
  2. 2. SYNOPSIS
  3. 3. DESCRIPTION
  4. 4. OPTIONS
  5. 5. FILES
  6. 6. SEE ALSO

Version as of 07:36, 16 May 2024

to this version.

Return to Version archive.

View current version

NAME

amaddclient - program to add client to an existing Amanda configuration

SYNOPSIS

amaddclient --config config || --client clientname || --diskdev directorytobackup [--m] [--dumptype string] [--includefile string] [includelist string] [--exclude-file string] [--excludelist string] [--user string ] [--auth string] [--gnutar_list_dir string] [--amandates string] [--batch] [--help]

DESCRIPTION

After Amanda Entreprise Edition rpm is successfully installed and amserverconfig is run, amaddclient will add client to the Amanda configuration. amaddclient create or update Amanda disklist file and create or update /var/lib/amanda/.amandahosts file on the server and the client (using scp if permission allowed). amaddclient must be run by user amandabackup. Options --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 
Amanda configuration which this program will add the client to.
--client client 
The name of the client machine to add. FQDN recommended.
--diskdev diskdev 
Directory for this Amanda configuration to backup.
--m 
Modify existing entry in the disklist file.

Note: if disklist file has been modified manually, this option might not work.

--dumptype dumptype 
dumptype to use. Dumptype must be defined in /etc/amanda/template.d/dumptypes file. Default: [user-tar]
--user username
name of user running amrecover on the client. Default: root. To add a windows client, this should be set to amandaroot.
--auth string 
authentication method to use when running amrecover from the client , default is bsdtcp.
--gnutar_list_dir string 
directory where gnutar keep its state file on the client. Absolute path required. default is /var/lib/amanda/gnutar-lists.
--amandates string 
file where amanda keep the date of each dumplevel on the client, default is /etc/amandates.
--batch 
Turn on batch mode when copying files to the client, default is off
--help 
Display usage.

If any of the following four options is used, amaddclient will extend the dumptype definition to an in-line defintion in the disklist file. See amanda(8) DISKLIST FILE section for detail.

--includefile string 
string is a glob expression
--excludefile string 
string is a glob expression
--excludelist string 
string is a file name on the client containing glob expressions. Specify either --excludefile or --excludelist.

FILES

/var/lib/amanda/template.d 
Amanda Entreprise Edition rpm template files install location
/var/lib/amanda 
amandabackup home directory
/var/lib/amanda/.amandahosts 
Amanda authentication file.
/var/lib/amanda/gnutar-lists 
A directory which contains backup timestamp and list of files backed up.
/etc/amanda/$config 
Amanda configuration files location for $config(e.g: DailySet1).
/etc/amanda/template.d 
A directory contains dumptypes and tapetypes files used by all Amanda configurations.
/etc/amandates 
Amanda file on the client. It keeps track of structures of previous dumps.
/tmp/amanda 
directory contains Amanda debug log files.

SEE ALSO

amanda(8), amanda.conf(5), amserverconfig(8)