116a7f7264ece29db65e44a80e48392619aeddf9
[debian/amanda] / man / amserverconfig.8
1 '\" t
2 .\"     Title: amserverconfig
3 .\"    Author: Kevin Till <kevin.till@zmanda.com>
4 .\" Generator: DocBook XSL Stylesheets vsnapshot_8273 <http://docbook.sf.net/>
5 .\"      Date: 11/05/2009
6 .\"    Manual: System Administration Commands
7 .\"    Source: Amanda 2.6.1p2
8 .\"  Language: English
9 .\"
10 .TH "AMSERVERCONFIG" "8" "11/05/2009" "Amanda 2\&.6\&.1p2" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
15 .nh
16 .\" disable justification (adjust text to left margin only)
17 .ad l
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
21 .SH "NAME"
22 amserverconfig \- program to setup initial \fIAmanda\fR configuration
23 .SH "SYNOPSIS"
24 .HP \w'\fBamserverconfig\fR\ 'u
25 \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]
26 .SH "DESCRIPTION"
27 .PP
28 After Amanda rpms are successfully installed,
29 \fBamserverconfig\fR
30 will setup initial
31 \fIAmanda\fR
32 configuration files\&. It will create /var/lib/amanda/guntar\-lists directory if one does not exist\&.
33 \fBamserverconfig\fR
34 does not change existing
35 \fIAmanda\fR
36 configurations\&.
37 \fBamserverconfig\fR
38 must be run by user amandabackup\&.
39 .SH "OPTIONS"
40 .PP
41 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
42 .PP
43
44 \fBamserverconfig\fR
45 builds a new "config"
46 \fIAmanda\fR
47 configuration\&. Customize the configuration with the options below\&.
48 .PP
49 \fB\-\-template template\fR
50 .RS 4
51 build
52 \fIAmanda\fR
53 configuration with pre\-configured template files\&. Currently,
54 \fBharddisk\fR,
55 \fBsingle\-tape\fR,
56 \fBtape\-changer\fR
57 and
58 \fBS3\fR
59 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\&.
60 .sp
61 If tape\-changer is chosen for this option, program mtx is required\&.
62 \fBamserverconfig\fR
63 will search for mtx in the following directory: "/usr/sbin", "/usr/local/sbin", "/usr/local/bin", "/usr/bin", "/bin" and amandabackup\'s PATH\&.
64 .sp
65 If harddisk is chosen and \-\-no\-vtape is not specified,
66 \fBamserverconfig\fR
67 will create and label virtual tape file://var/lib/amanda/vtapes/$config\&.
68 .RE
69 .PP
70 \fB\-\-no\-vtape\fR
71 .RS 4
72 Do not create virtual tapes in the harddisk template case\&.
73 .RE
74 .PP
75 \fB\-\-tapedev tapedev\fR
76 .RS 4
77 The path name of non\-rewinding tape device\&. default [file://var/lib/amanda/vtapes/$config]
78 .RE
79 .PP
80 \fB\-\-tpchanger tpchanger\fR
81 .RS 4
82 The name of the tape changer\&. default [chg\-disk]
83 .RE
84 .PP
85 \fB\-\-changerdev changerdev\fR
86 .RS 4
87 A tape changer configuration parameter\&. default [/dev/null]
88 .RE
89 .PP
90 \fB\-\-changerfile changerfile\fR
91 .RS 4
92 A tape changer configuration parameter\&. default [/etc/amanda/$config/changer\&.conf]
93 .RE
94 .PP
95 \fB\-\-labelstr labelstr\fR
96 .RS 4
97 The tape label constraint regular expression\&. default [^$config\-[0\-9][0\-9]*$]
98 .sp
99 If this option is used with \-\-template=harddisk, only alphanumeric string is supported\&.
100 .RE
101 .PP
102 \fB\-\-tapetype tapetype\fR
103 .RS 4
104 The type of tape drive associated with tapedev or tpchanger\&. default [HARDDISK]
105 .RE
106 .PP
107 \fB\-\-mailto mailto\fR
108 .RS 4
109 A space separated list of recipients for mail reports\&. default [amandabackup]
110 .RE
111 .PP
112 \fB\-\-dumpcycle dumpcycle\fR
113 .RS 4
114 The number of days in the backup cycle\&. default [1week]
115 .RE
116 .PP
117 \fB\-\-runspercycle runspercycle\fR
118 .RS 4
119 The number of days in the backup cycle\&. default [5]
120 .RE
121 .PP
122 \fB\-\-runtapes runtapes\fR
123 .RS 4
124 The maximum number of tapes used in a single run\&. default [1]
125 .RE
126 .PP
127 \fB\-\-tapecycle tapecycle\fR
128 .RS 4
129 The size of tape rotation\&. default [25]
130 .RE
131 .PP
132 \fB\-\-help\fR
133 .RS 4
134 Display usage\&.
135 .RE
136 .SH "FILES"
137 .PP
138 \fB/var/lib/amanda/template\&.d\fR
139 .RS 4
140 Amanda configuration template files install location
141 .RE
142 .PP
143 \fB/var/lib/amanda\fR
144 .RS 4
145 amandabackup home directory
146 .RE
147 .PP
148 \fB/var/lib/amanda/gnutar\-lists\fR
149 .RS 4
150 A directory which contains backup timestamp and list of files backed up\&.
151 .RE
152 .PP
153 \fB/etc/amanda/$config\fR
154 .RS 4
155 \fIAmanda\fR
156 configuration files location for $config(e\&.g: DailySet1)\&.
157 .RE
158 .PP
159 \fB/etc/amanda/template\&.d\fR
160 .RS 4
161 A directory contains dumptypes and tapetypes files used by all
162 \fIAmanda\fR
163 configurations\&.
164 .RE
165 .PP
166 \fB/etc/amandates\fR
167 .RS 4
168 \fIAmanda\fR
169 file on the client\&. It keeps track of structures of previous dumps\&.
170 .RE
171 .PP
172 \fB/tmp/amanda\fR
173 .RS 4
174 directory contains
175 \fIAmanda\fR
176 debug log files\&.
177 .RE
178 .SH "RETURN VALUE"
179
180 On success, zero is returned\&.  On error, 1 is returned\&.
181 .SH "SEE ALSO"
182 .PP
183 \fBamanda\fR(8),
184 \fBamanda.conf\fR(5),
185 \fBamaddclient\fR(8),
186 : http://wiki.zmanda.com
187 .SH "AUTHOR"
188 .PP
189 \fBKevin Till\fR <\&kevin\&.till@zmanda\&.com\&>
190 .RS 4
191 Zmanda, Inc\&. (http://www\&.zmanda\&.com)
192 .RE