3 .\" Author: Kevin Till <kevin.till@zmanda.com>
4 .\" Generator: DocBook XSL Stylesheets vsnapshot_8273 <http://docbook.sf.net/>
6 .\" Manual: System Administration Commands
7 .\" Source: Amanda 2.6.1p1
10 .TH "AMADDCLIENT" "8" "04/10/2009" "Amanda 2\&.6\&.1p1" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 amaddclient \- program to add client to an existing \fIAmanda\fR configuration
24 .HP \w'\fBamaddclient\fR\ 'u
25 \fBamaddclient\fR \-\-config \fIconfig\fR ||
26 \-\-client \fIclient\ name\fR ||
27 \-\-diskdev \fIdirectory\ to\ backup\fR [\-\-m] [\-\-dumptype\ \fIstring\fR] [\-\-includefile\ \fIstring\fR] [\-\-includelist\ \fIstring\fR] [\-\-excludefile\ \fIstring\fR] [\-\-excludelist\ \fIstring\fR] [\-\-user\ \fIstring\fR] [\-\-auth\ \fIstring\fR] [\-\-gnutar_list_dir\ \fIstring\fR] [\-\-amandates\ \fIstring\fR] [\-\-no\-client\-update] [\-\-batch] [\-\-help]
30 After Amanda rpms are successfully installed and
34 will add client to the
41 file and create or update /var/lib/amanda/\&.amandahosts file on the server\&.
43 If \-\-no\-client\-update is not specified,
45 will attempt to update or create /var/lib/amanda/\&.amandahost, amanda\-client\&.conf and gnutar\-lists on the client\&. (See
53 must be run by user amandabackup\&.
55 \-\-config, \-\-client and \-\-diskdev must be specified\&.
60 Options may be abbreviated, as long as the abbreviation is not ambiguous\&. Option argument can either separated by \'=\' or a space\&.
61 Example: \-\-conf=v253, \-\-client client8\&.zmanda\&.com
64 \fB\-\-config config\fR
67 configuration which this program will add the client to\&.
70 \fB\-\-client client\fR
72 The name of the client machine to add\&. FQDN name recommended\&.
75 \fB\-\-diskdev diskdev\fR
79 configuration to backup\&.
84 Modify existing entry in the
90 file has been modified manually, this option might not work\&.
93 \fB\-\-dumptype dumptype\fR
95 dumptype to use\&. Dumptype must be defined in /etc/amanda/template\&.d/dumptypes or /etc/amanda/$config/amanda\&.conf file\&. Default: [user\-tar]
102 on the client, default is root\&.
105 \fB\-\-auth string\fR
107 authentication method to use when running
109 from the client , default is bsdtcp\&.
112 \fB\-\-gnutar_list_dir string\fR
114 directory where gnutar keep its state file on the client\&. Absolute path required\&. Default is /var/lib/amanda/gnutar\-lists\&. If \-\-no\-client\-update is not set, this program will attempt to create the directory on the client\&.
117 \fB\-\-amandates string\fR
119 file where amanda keep the date of each dumplevel on the client, default is /etc/amandates\&.
124 Turn on batch mode when copying files to the client, default is off
127 \fB\-\-no\-client\-update\fR
129 If this option is set,
131 will not attempt to update/create \&.amandahosts, amanda\-client\&.conf and gnutar\-lists file on the client\&.
141 If any of the following four options are used, \fBamaddclient\fR will extend the dumptype definition to an in\-line definition in the \fBdisklist\fR(5) file\&.
144 \fB\-\-includefile string\fR
146 string is a glob expression
149 \fB\-\-includelist string\fR
151 string is a file name on the client containing glob expressions\&. Specify either \-\-includefile or \-\-includelist\&.
154 \fB\-\-excludefile string\fR
156 string is a glob expression
159 \fB\-\-excludelist string\fR
161 string is a file name on the client containing glob expressions\&. Specify either \-\-excludefile or \-\-excludelist\&.
165 \fB/var/lib/amanda/template\&.d\fR
167 Amanda configuration template files install location
170 \fB/var/lib/amanda\fR
172 amandabackup home directory
175 \fB/var/lib/amanda/\&.amandahosts\fR
178 authentication file\&.
181 \fB/var/lib/amanda/gnutar\-lists\fR
183 A directory which contains backup timestamp and list of files backed up\&.
186 \fB/etc/amanda/$config\fR
189 configuration files location for $config(e\&.g: DailySet1)\&.
192 \fB/etc/amanda/template\&.d\fR
194 A directory contains dumptypes and tapetypes files used by all
202 file on the client\&. It keeps track of structures of previous dumps\&.
213 On success, zero is returned\&. On error, 1 is returned\&.
217 \fBamanda.conf\fR(5),
218 \fBamserverconfig\fR(8)
222 : http://wiki.zmanda.com
225 \fBKevin Till\fR <\&kevin\&.till@zmanda\&.com\&>
227 Zmanda, Inc\&. (http://www\&.zmanda\&.com)