1AMADDCLIENT(8) System Administration Commands AMADDCLIENT(8)
2
3
4
6 amaddclient - program to add client to an existing Amanda configuration
7
9 amaddclient --config config ||
10 --client client name ||
11 --diskdev directory to backup [--m] [--dumptype string]
12 [--includefile string] [--includelist string]
13 [--excludefile string] [--excludelist string]
14 [--user string] [--auth string] [--gnutar_list_dir string]
15 [--amandates string] [--no-client-update] [--batch]
16 [--help]
17
19 After Amanda rpms are successfully installed and amserverconfig is run,
20 amaddclient will add client to the Amanda configuration. amaddclient
21 create or update Amanda disklist(5) file and create or update
22 /var/lib/amanda/.amandahosts file on the server.
23
24 If --no-client-update is not specified, amaddclient will attempt to
25 update or create /var/lib/amanda/.amandahost, amanda-client.conf and
26 gnutar-lists on the client. (See ssh-keygen(1) and ssh-add(1) for
27 detail.)
28
29 amaddclient must be run by user amandabackup.
30
31 --config, --client and --diskdev must be specified.
32
34 Options may be abbreviated, as long as the abbreviation is not
35 ambiguous. Option argument can either separated by '=' or a space.
36 Example: --conf=v253, --client client8.zmanda.com
37
38 --config config
39 Amanda configuration which this program will add the client to.
40
41 --client client
42 The name of the client machine to add. FQDN name recommended.
43
44 --diskdev diskdev
45 Directory for this Amanda configuration to backup.
46
47 --m
48 Modify existing entry in the disklist(5) file.
49
50 Note: if disklist(5) file has been modified manually, this option
51 might not work.
52
53 --dumptype dumptype
54 dumptype to use. Dumptype must be defined in
55 /etc/amanda/template.d/dumptypes or /etc/amanda/$config/amanda.conf
56 file. Default: [user-tar]
57
58 --user string
59 name of user using amrecover on the client, default is root.
60
61 --auth string
62 authentication method to use when running amrecover from the client
63 , default is bsdtcp.
64
65 --gnutar_list_dir string
66 directory where gnutar keep its state file on the client. Absolute
67 path required. Default is /var/lib/amanda/gnutar-lists. If
68 --no-client-update is not set, this program will attempt to create
69 the directory on the client.
70
71 --amandates string
72 file where amanda keep the date of each dumplevel on the client,
73 default is /etc/amandates.
74
75 --batch
76 Turn on batch mode when copying files to the client, default is off
77
78 --no-client-update
79 If this option is set, amaddclient will not attempt to
80 update/create .amandahosts, amanda-client.conf and gnutar-lists
81 file on the client.
82
83 --help
84 Display usage.
85
86 If any of the following four options are used, amaddclient will
87 extend the dumptype definition to an in-line definition in the
88 disklist(5) file.
89
90 --includefile string
91 string is a glob expression
92
93 --includelist string
94 string is a file name on the client containing glob expressions.
95 Specify either --includefile or --includelist.
96
97 --excludefile string
98 string is a glob expression
99
100 --excludelist string
101 string is a file name on the client containing glob expressions.
102 Specify either --excludefile or --excludelist.
103
105 /var/lib/amanda/template.d
106 Amanda configuration template files install location
107
108 /var/lib/amanda
109 amandabackup home directory
110
111 /var/lib/amanda/.amandahosts
112 Amanda authentication file.
113
114 /var/lib/amanda/gnutar-lists
115 A directory which contains backup timestamp and list of files
116 backed up.
117
118 /etc/amanda/$config
119 Amanda configuration files location for $config(e.g: DailySet1).
120
121 /etc/amanda/template.d
122 A directory contains dumptypes and tapetypes files used by all
123 Amanda configurations.
124
125 /etc/amandates
126 Amanda file on the client. It keeps track of structures of previous
127 dumps.
128
129 /tmp/amanda
130 directory contains Amanda debug log files.
131
133 On success, zero is returned. On error, 1 is returned.
134
136 amanda(8), amanda.conf(5), amserverconfig(8), ssh-keygen(1), ssh-
137 add(1), scp(1)
138
139 The Amanda Wiki: : http://wiki.zmanda.com/
140
142 Kevin Till <kevin.till@zmanda.com>
143 Zmanda, Inc. (http://www.zmanda.com)
144
145
146
147Amanda 3.5.4 07/27/2023 AMADDCLIENT(8)