1 .\" Title: amserverconfig
2 .\" Author: Kevin Till <kevin.till@zmanda.com>
3 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/>
5 .\" Manual: System Administration Commands
6 .\" Source: Amanda 2.6.1
9 .TH "AMSERVERCONFIG" "8" "01/22/2009" "Amanda 2\&.6\&.1" "System Administration Commands"
10 .\" -----------------------------------------------------------------
11 .\" * (re)Define some macros
12 .\" -----------------------------------------------------------------
13 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14 .\" toupper - uppercase a string (locale-aware)
15 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
19 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
21 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
22 .\" SH-xref - format a cross-reference to an SH section
23 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33 .\" SH - level-one heading that works better for non-TTY output
34 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36 .\" put an extra blank line of space above the head in non-TTY output
43 .nr an-prevailing-indent \\n[IN]
47 .HTML-TAG ".NH \\n[an-level]"
49 .nr an-no-space-flag 1
51 \." make the size of the head bigger
56 .\" if n (TTY output), use uppercase
61 .\" if not n (not TTY), use normal case (not uppercase)
65 .\" if not n (not TTY), put a border/line under subheading
70 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 .\" SS - level-two heading that works better for non-TTY output
72 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77 .nr an-prevailing-indent \\n[IN]
82 .nr an-no-space-flag 1
85 \." make the size of the head bigger
91 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
92 .\" BB/BE - put background/screen (filled box) around block of text
93 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106 .if "\\$2"adjust-for-leading-newline" \{\
114 .nr BW \\n(.lu-\\n(.i
117 .ie "\\$2"adjust-for-leading-newline" \{\
118 \M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
121 \M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[]
132 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133 .\" BM/EM - put colored marker in margin next to block of text
134 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
151 \M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[]
159 .\" -----------------------------------------------------------------
160 .\" * set default formatting
161 .\" -----------------------------------------------------------------
162 .\" disable hyphenation
164 .\" disable justification (adjust text to left margin only)
166 .\" -----------------------------------------------------------------
167 .\" * MAIN CONTENT STARTS HERE *
168 .\" -----------------------------------------------------------------
170 amserverconfig \- program to setup initial \fIAmanda\fR configuration
173 .HP \w'\fBamserverconfig\fR\ 'u
174 \fBamserverconfig\fR \fIconfig\fR [\-\-template\ \fItemplate\fR] [\-\-no\-vtape] [\-\-tapetype\ \fItapetype\fR] [\-\-tpchanger\ \fItpchanger\fR] [\-\-tapedev\ \fItapedev\fR] [\-\-changerfile\ \fIchangerfile\fR] [\-\-changerdev\ \fIchangerdev\fR] [\-\-labelstr\ \fIlabelstr\fR] [\-\-mailto\ \fImailto\fR] [\-\-dumpcycle\ \fIdumpcycle\fR] [\-\-runspercycle\ \fIrunspercycle\fR] [\-\-runtapes\ \fIruntapes\fR] [\-\-tapecycle\ \fItapecycle\fR] [\-\-help]
178 After Amanda rpms are successfully installed,
182 configuration files\&. It will create /var/lib/amanda/guntar\-lists directory if one does not exist\&.
184 does not change existing
188 must be run by user amandabackup\&.
191 Options may be abbreviated, as long as the abbreviation is not ambiguous\&. Option argument can either separated by \'=\' or a space\&. Example: \-\-templ=harddisk \-\-tapedev /dev/nst0
195 builds a new "config"
197 configuration\&. Customize the configuration with the options below\&.
199 \fB\-\-template template\fR
203 configuration with pre\-configured template files\&. Currently,
209 are the valid inputs for this option\&. Pre\-configured template files can be found in /var/lib/amanda/template\&.d\&. This option may be combined with other options\&.
211 If tape\-changer is chosen for this option, program mtx is required\&.
213 will search for mtx in the following directory: "/usr/sbin", "/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/bin" and amandabackup\'s PATH\&.
215 If harddisk is chosen and \-\-no\-vtape is not specified,
217 will create and label virtual tape file://var/lib/amanda/vtapes/$config\&.
222 Do not create virtual tapes in the harddisk template case\&.
225 \fB\-\-tapedev tapedev\fR
227 The path name of non\-rewinding tape device\&. default [file://var/lib/amanda/vtapes/$config]
230 \fB\-\-tpchanger tpchanger\fR
232 The name of the tape changer\&. default [chg\-disk]
235 \fB\-\-changerdev changerdev\fR
237 A tape changer configuration parameter\&. default [/dev/null]
240 \fB\-\-changerfile changerfile\fR
242 A tape changer configuration parameter\&. default [/etc/amanda/$config/changer\&.conf]
245 \fB\-\-labelstr labelstr\fR
247 The tape label constraint regular expression\&. default [^$config\-[0\-9][0\-9]*$]
249 If this option is used with \-\-template=harddisk, only alphanumeric string is supported\&.
252 \fB\-\-tapetype tapetype\fR
254 The type of tape drive associated with tapedev or tpchanger\&. default [HARDDISK]
257 \fB\-\-mailto mailto\fR
259 A space separated list of recipients for mail reports\&. default [amandabackup]
262 \fB\-\-dumpcycle dumpcycle\fR
264 The number of days in the backup cycle\&. default [1week]
267 \fB\-\-runspercycle runspercycle\fR
269 The number of days in the backup cycle\&. default [5]
272 \fB\-\-runtapes runtapes\fR
274 The maximum number of tapes used in a single run\&. default [1]
277 \fB\-\-tapecycle tapecycle\fR
279 The size of tape rotation\&. default [25]
288 \fB/var/lib/amanda/template\&.d\fR
290 Amanda configuration template files install location
293 \fB/var/lib/amanda\fR
295 amandabackup home directory
298 \fB/var/lib/amanda/gnutar\-lists\fR
300 A directory which contains backup timestamp and list of files backed up\&.
303 \fB/etc/amanda/$config\fR
306 configuration files location for $config(e\&.g: DailySet1)\&.
309 \fB/etc/amanda/template\&.d\fR
311 A directory contains dumptypes and tapetypes files used by all
319 file on the client\&. It keeps track of structures of previous dumps\&.
330 On success, zero is returned\&. On error, 1 is returned\&.
334 \fBamanda.conf\fR(5),
335 \fBamaddclient\fR(8),
336 : http://wiki.zmanda.com
339 \fBKevin Till\fR <\&kevin\&.till@zmanda\&.com\&>
341 Zmanda, Inc\&. (\FChttp://www\&.zmanda\&.com\F[])