File: amserverconfig.8.xml

package info (click to toggle)
amanda 1%3A3.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 30,596 kB
  • sloc: ansic: 265,630; perl: 114,246; xml: 16,058; sh: 8,667; makefile: 2,794; awk: 502; lex: 407; yacc: 347; tcl: 118; sql: 19; sed: 16; php: 2
file content (248 lines) | stat: -rw-r--r-- 7,684 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
                   "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
[
  <!-- entities files to use -->
  <!ENTITY % global_entities SYSTEM 'global.entities'>
  %global_entities;
]>

<refentry id='amserverconfig.8'>
<refmeta>
<refentrytitle>amserverconfig</refentrytitle>
<manvolnum>8</manvolnum>
&rmi.source;
&rmi.version;
&rmi.manual.8;
</refmeta>
<refnamediv>
<refname>amserverconfig</refname>
<refpurpose>program to setup initial Amanda configuration</refpurpose>
</refnamediv>
<refentryinfo>
&author.ktill;
</refentryinfo>
<!-- body begins here -->
<refsynopsisdiv>
<cmdsynopsis>
  <command>amserverconfig</command>  
<arg choice='plain'><replaceable>config</replaceable></arg>
<arg choice='opt'>--template <replaceable>template</replaceable></arg>
<arg choice='opt'>--no-vtape </arg>
<arg choice='opt'>--tapetype <replaceable>tapetype</replaceable></arg>
<arg choice='opt'>--tpchanger <replaceable>tpchanger</replaceable></arg>
<arg choice='opt'>--tapedev <replaceable>tapedev</replaceable></arg>
<arg choice='opt'>--changerfile <replaceable>changerfile</replaceable></arg>
<arg choice='opt'>--changerdev <replaceable>changerdev</replaceable></arg>
<arg choice='opt'>--labelstr <replaceable>labelstr</replaceable></arg>
<arg choice='opt'>--mailto <replaceable>mailto</replaceable></arg>
<arg choice='opt'>--dumpcycle <replaceable>dumpcycle</replaceable></arg>
<arg choice='opt'>--runspercycle <replaceable>runspercycle</replaceable></arg>
<arg choice='opt'>--runtapes <replaceable>runtapes</replaceable></arg>
<arg choice='opt'>--tapecycle <replaceable>tapecycle</replaceable></arg>
<arg choice='opt'>--help </arg>
</cmdsynopsis>
</refsynopsisdiv>

<refsect1><title>DESCRIPTION</title>
<para>After Amanda rpms are successfully installed,
	  &amserverconfig; will setup initial Amanda configuration files.
It will create /var/lib/amanda/guntar-lists directory if one does
	  not exist.
&amserverconfig; does not change existing Amanda configurations.
&amserverconfig; must be run by user backup.
</para> 
</refsect1>


<refsect1><title>Options</title>
<para>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</para>

<para>&amserverconfig; builds a new "config" Amanda configuration. Customize the configuration with the options below.</para>

<variablelist remap='TP'>
  <varlistentry>
  <term><option>--template template</option></term>
  <listitem>
<para>build Amanda configuration with pre-configured template files. Currently,
		 <emphasis remap='B'>harddisk</emphasis>, <emphasis
		remap='B'>single-tape</emphasis>, <emphasis remap='B'>tape-changer</emphasis> and <emphasis remap='B'>S3</emphasis> 
		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.
	        </para>
<para>If tape-changer is chosen for this option, program mtx is required. &amserverconfig; will
search for mtx in the following directory: "/usr/sbin", "/usr/local/sbin",
"/usr/local/bin", "/usr/bin", "/bin" and backup's PATH.
</para>
<para>
If harddisk is chosen and --no-vtape is not specified, &amserverconfig; will create and label virtual tape
file://var/lib/amanda/vtapes/$config.
</para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--no-vtape</option></term>
  <listitem>
<para>Do not create virtual tapes in the harddisk template case. </para>
  </listitem>
  </varlistentry>


  <varlistentry>
  <term><option>--tapedev tapedev</option></term>
  <listitem>
<para>The path name of non-rewinding tape device. 
default [file://var/lib/amanda/vtapes/$config]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--tpchanger tpchanger</option></term>
  <listitem>
<para>The name of the tape changer. default [chg-disk]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--changerdev changerdev</option></term>
  <listitem>
<para>A tape changer configuration parameter. default [/dev/null]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--changerfile changerfile</option></term>
  <listitem>
<para>A tape changer configuration parameter. default [/etc/amanda/$config/changer.conf]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--labelstr labelstr</option></term>
  <listitem>
<para>The tape label constraint regular expression. default [^$config-[0-9][0-9]*$]  </para>
<para>If this option is used with --template=harddisk, only alphanumeric string
is supported.</para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--tapetype tapetype</option></term>
  <listitem>
<para>The type of tape drive associated with tapedev or  tpchanger. default [HARDDISK]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--mailto mailto</option></term>
  <listitem>
<para> A space separated list of recipients for mail reports. default [backup]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--dumpcycle dumpcycle</option></term>
  <listitem>
<para>The number of days in the backup cycle. default [1week]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--runspercycle runspercycle</option></term>
  <listitem>
<para>The number of days in the backup cycle. default [5]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--runtapes runtapes</option></term>
  <listitem>
<para>The maximum number of tapes used in a single run. default [1]  </para>
  </listitem>
  </varlistentry>

  <varlistentry>
  <term><option>--tapecycle tapecycle</option></term>
  <listitem>
<para>The size of tape rotation. default [25]  </para>
  </listitem>
  </varlistentry>


  <varlistentry>
  <term><option>--help</option></term>
  <listitem>
<para>Display usage. </para>
  </listitem>
  </varlistentry>

</variablelist>
</refsect1>

<refsect1><title>Files</title>
<variablelist remap='TP'>
 <varlistentry>
 <term><option>/var/lib/amanda/template.d</option></term>
  <listitem>
<para>Amanda configuration template files install location</para>
  </listitem>
  </varlistentry>

 <varlistentry>
 <term><option>/var/lib/amanda</option></term>
  <listitem>
<para>backup home directory</para>
  </listitem>
  </varlistentry>

 <varlistentry>
 <term><option>/var/lib/amanda/gnutar-lists</option></term>
  <listitem>
<para>A directory which contains backup timestamp and list of files backed up.</para>
  </listitem>
  </varlistentry>

 <varlistentry>
 <term><option>/etc/amanda/$config</option></term>
  <listitem>
<para>Amanda configuration files location for $config(e.g: DailySet1).</para>
  </listitem>
  </varlistentry>

 <varlistentry>
 <term><option>/etc/amanda/template.d</option></term>
  <listitem>
<para>A directory contains dumptypes and tapetypes files used by all Amanda configurations.</para>
  </listitem>
  </varlistentry>

 <varlistentry>
 <term><option>/etc/amandates</option></term>
  <listitem>
<para>Amanda file on the client. It keeps track of structures of previous dumps.</para>
  </listitem>
  </varlistentry>

 <varlistentry>
 <term><option>/tmp/amanda</option></term>
  <listitem>
<para>directory contains Amanda debug log files.</para>
  </listitem>
  </varlistentry>

</variablelist>
</refsect1>

<refsect1><title>RETURN VALUE</title>
On success, zero is returned.  On error, 1 is returned.
</refsect1>

<seealso>
<manref name="amanda.conf" vol="5"/>,
<manref name="amaddclient" vol="8"/>
</seealso>

</refentry>