Imported Upstream version 2.5.0
[debian/amanda] / man / amanda.8
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
13 ..
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
19 ..
20 .TH "AMANDA" 8 "" "" ""
21 .SH NAME
22 amanda \- Advanced Maryland Automatic Network Disk Archiver
23 .SH "SYNOPSIS"
24 .ad l
25 .hy 0
26 .HP 8
27 \fBamadmin\fR \fIconfig\fR \fIcommand\fR [\fIoptions\fR]
28 .br
29
30 .ad
31 .hy
32 .ad l
33 .hy 0
34 .HP 8
35 \fBamcheck\fR [\fIoptions\fR] \fIconfig\fR
36 .br
37
38 .ad
39 .hy
40 .ad l
41 .hy 0
42 .HP 10
43 \fBamcheckdb\fR \fIconfig\fR
44 .br
45
46 .ad
47 .hy
48 .ad l
49 .hy 0
50 .HP 10
51 \fBamcleanup\fR \fIconfig\fR
52 .br
53
54 .ad
55 .hy
56 .ad l
57 .hy 0
58 .HP 8
59 \fBamcrypt\fR
60 .br
61
62 .ad
63 .hy
64 .ad l
65 .hy 0
66 .HP 5
67 \fBamdd\fR [\fIoptions\fR]
68 .ad
69 .hy
70 .ad l
71 .hy 0
72 .HP 7
73 \fBamdump\fR \fIconfig\fR
74 .br
75
76 .ad
77 .hy
78 .ad l
79 .hy 0
80 .HP 10
81 \fBamaespipe\fR
82 .br
83
84 .ad
85 .hy
86 .ad l
87 .hy 0
88 .HP 8
89 \fBamflush\fR [\-f] \fIconfig\fR
90 .br
91
92 .ad
93 .hy
94 .ad l
95 .hy 0
96 .HP 10
97 \fBamgetconf\fR [\fIconfig\fR] \fIparameter\fR
98 .br
99
100 .ad
101 .hy
102 .ad l
103 .hy 0
104 .HP 8
105 \fBamlabel\fR \fIconfig\fR \fIlabel\fR [\fIslot\fR\ \fIslot\fR]
106 .br
107
108 .ad
109 .hy
110 .ad l
111 .hy 0
112 .HP 5
113 \fBammt\fR [\fIoptions\fR]
114 .ad
115 .hy
116 .ad l
117 .hy 0
118 .HP 11
119 \fBamoverview\fR \fIconfig\fR [\fIoptions\fR]
120 .br
121
122 .ad
123 .hy
124 .ad l
125 .hy 0
126 .HP 7
127 \fBamplot\fR [\fIoptions\fR] \fIamdump\-files\fR
128 .br
129
130 .ad
131 .hy
132 .ad l
133 .hy 0
134 .HP 10
135 \fBamrecover\fR [\fIconfig\fR] [\fIoptions\fR]
136 .br
137
138 .ad
139 .hy
140 .ad l
141 .hy 0
142 .HP 9
143 \fBamreport\fR [\fIconfig\fR] [\fIoptions\fR]
144 .br
145
146 .ad
147 .hy
148 .ad l
149 .hy 0
150 .HP 10
151 \fBamrestore\fR [\fIoptions\fR] \fItapedevice\fR [\fIhostname\fR\ [\fIdiskname\fR]]
152 .br
153
154 .ad
155 .hy
156 .ad l
157 .hy 0
158 .HP 12
159 \fBamfetchdump\fR [\fIoptions\fR] \fIconfig\fR [\fIhostname\fR\ [\fIdiskname\fR\ [\fIdate\fR\ [level]]]]
160 .ad
161 .hy
162 .ad l
163 .hy 0
164 .HP 9
165 \fBamrmtape\fR [\fIoptions\fR] \fIconfig\fR \fIlabel\fR
166 .br
167
168 .ad
169 .hy
170 .ad l
171 .hy 0
172 .HP 9
173 \fBamstatus\fR \fIconfig\fR [\fIoptions\fR]
174 .br
175
176 .ad
177 .hy
178 .ad l
179 .hy 0
180 .HP 7
181 \fBamtape\fR \fIconfig\fR \fIcommand\fR [\fIoptions\fR]
182 .br
183
184 .ad
185 .hy
186 .ad l
187 .hy 0
188 .HP 11
189 \fBamtapetype\fR [\fIoptions\fR]
190 .ad
191 .hy
192 .ad l
193 .hy 0
194 .HP 6
195 \fBamtoc\fR [\fIoptions\fR] \fIlogfile\fR
196 .br
197
198 .ad
199 .hy
200 .ad l
201 .hy 0
202 .HP 9
203 \fBamverify\fR \fIconfig\fR
204 .br
205
206 .ad
207 .hy
208 .ad l
209 .hy 0
210 .HP 12
211 \fBamverifyrun\fR \fIconfig\fR
212 .ad
213 .hy
214
215 .SH "DESCRIPTION"
216
217 .PP
218 \fBAmanda\fR is the "Advanced Maryland Automatic Network Disk Archiver"\&. This manual page gives an overview of the \fBAmanda\fR commands and configuration files for quick reference\&.
219
220 .PP
221 Here are all the \fBAmanda\fR commands\&. Each one has its own manual page\&. See them for all the gory details\&.
222
223 .TP
224 \fBamdump\fR
225 Take care of automatic \fBAmanda\fR backups\&. This is normally executed by \fBcron\fR on a computer called the \fBtape server host\fR and requests backups of file systems located on \fBbackup\fR  \fBclients\fR\&. \fBAmdump\fR backs up all disks in the \fBdisklist\fR file (discussed below) to tape or, if there is a problem, to a special \fBholding\fR  \fBdisk\fR\&. After all backups are done, \fBamdump\fR sends mail reporting failures and successes\&.
226
227 .TP
228 \fBamflush\fR
229 Flush backups from the holding disk to tape\&. \fBAmflush\fR is used after \fBamdump\fR has reported it could not write backups to tape for some reason\&. When this happens, backups stay in the holding disk\&. Run \fBamflush\fR after the tape problem is corrected to write backups from the holding disk to tape\&.
230
231 .TP
232 \fBamcleanup\fR
233 Clean up after an interrupted \fBamdump\fR\&. This command is only needed if \fBamdump\fR was unable to complete for some reason, usually because the tape server host crashed while \fBamdump\fR was running\&.
234
235 .TP
236 \fBamrecover\fR
237 Provides an interactive interface to browse the \fBAmanda\fR index files (backup image catalogues) and select which tapes to recover files from\&. It can also run \fBamrestore\fR and a restore program (e\&.g\&. \fBtar\fR) to actually recover the files\&.
238
239 .TP
240 \fBamrestore\fR
241 Read an \fBAmanda\fR tape, searching for requested backups\&. \fBAmrestore\fR is suitable for everything from interactive restores of single files to a full restore of all partitions on a failed disk\&.
242
243 .TP
244 \fBamfetchdump\fR
245 Performs \fBAmanda\fR tape restoration, similar to \fBamrestore\fR\&. Additional capabilities include "hands\-off" searching of multiple tapes, automatic retrieval of specific dump files based on dump logs, and assembly of tape\-spanning split dump files\&.
246
247 .TP
248 \fBamlabel\fR
249 Write an \fBAmanda\fR format label onto a tape\&. All \fBAmanda\fR tapes must be labeled with \fBamlabel\fR\&. \fBAmdump\fR and \fBamflush\fR will not write to an unlabeled tape (see TAPE MANAGEMENT below)\&.
250
251 .TP
252 \fBamcheck\fR
253 Verify the correct tape is mounted and all file systems on all backup client systems are ready to be backed up\&. Often run by \fBcron\fR before \fBamdump\fR to generate a mail warning that backups might fail unless corrective action is taken\&.
254
255 .TP
256 \fBamadmin\fR
257 Take care of administrative tasks like finding out which tapes are needed to restore a filesystem, forcing hosts to do full backups of selected disks and looking at schedule balance information\&.
258
259 .TP
260 \fBamtape\fR
261 Take care of tape changer control operations like loading particular tapes, ejecting tapes and scanning the tape storage slots\&.
262
263 .TP
264 \fBamverify\fR
265 Check \fBAmanda\fR backup tapes for errors\&.
266
267 .TP
268 \fBamrmtape\fR
269 Delete a tape from the \fBAmanda\fR databases\&.
270
271 .TP
272 \fBamstatus\fR
273 Report the status of a running or completed \fBamdump\fR\&.
274
275 .TP
276 \fBamoverview\fR
277 Display a chart of hosts and file systems backed up every run\&.
278
279 .TP
280 \fBamplot\fR
281 Generate utilization plots of \fBAmanda\fR runs for performance tuning\&.
282
283 .TP
284 \fBamreport\fR
285 Generate an \fBAmanda\fR summary E\-mail report\&.
286
287 .TP
288 \fBamtoc\fR
289 Generate table of content files for \fBAmanda\fR tapes\&.
290
291 .TP
292 \fBamcheckdb\fR
293 Verify every tape \fBAmanda\fR knows about is consistent in the database\&.
294
295 .TP
296 \fBamgetconf\fR
297 Look up parameters in the \fBAmanda\fR configuration file\&.
298
299 .TP
300 \fBamtapetype\fR
301 Generate a tapetype definition\&.
302
303 .TP
304 \fBamaespipe\fR
305 Wrapper program from aespipe (data encryption utility)
306
307 .TP
308 \fBamcrypt\fR
309 Reference encryption program for Amanda symmetric data encryption
310
311 .SH "CONFIGURATION"
312
313 .PP
314 There are three user\-editable files that control the behavior of \fBAmanda\fR\&.
315
316 .PP
317 The first is \fBamanda\&.conf\fR, the main configuration file\&. It contains parameters to customize \fBAmanda\fR for the site\&. Refer to the \fBamanda\&.conf\fR(5), manpage for details on \fBAmanda\fR configuration parameters\&.
318
319 .PP
320 Second is the \fBdisklist\fR file, which lists hosts and disk partitions to back up\&.
321
322 .PP
323 Third is the \fBtapelist\fR file, which lists tapes that are currently active\&. These files are described in more detail in the following sections\&.
324
325 .PP
326 All files are stored in individual configuration directories under \fI/usr/local/etc/amanda/\fR\&. A site will often have more than one configuration\&. For example, it might have a \fBnormal\fR configuration for everyday backups and an \fBarchive\fR configuration for infrequent full archival backups\&. The configuration files would be stored under directories \fI/usr/local/etc/amanda/normal/\fR and \fI/usr/local/etc/amanda/archive/\fR, respectively\&. Part of the job of an \fBAmanda\fR administrator is to create, populate and maintain these directories\&.
327
328 .PP
329 All log and database files generated by \fBAmanda\fR go in corresponding directories somewhere\&. The exact location is controlled by entries in \fBamanda\&.conf\fR\&. A typical location would be under \fI/var/adm/amanda\fR\&. For the above example, the files might go in \fI/var/adm/amanda/normal/\fR and \fI/var/adm/amanda/archive/\fR\&.
330
331 .PP
332 As log files are no longer needed (no longer contain relevant information), \fBAmanda\fR cycles them out in various ways, depending on the type of file\&.
333
334 .PP
335 Detailed information about \fBamdump\fR runs are stored in files named \fBamdump\&.\fR\fBNN\fR where \fBNN\fR is a sequence number, with 1 being the most recent file\&. \fBAmdump\fR rotates these files each run, keeping roughly the last \fBtapecycle\fR (see below) worth of them\&.
336
337 .PP
338 The file used by \fBamreport\fR to generate the mail summary is named \fBlog\&.\fR\fBYYYYMMDD\&.NN\fR where \fBYYYYMMDD\fR is the datestamp of the start of the \fBamdump\fR run and \fBNN\fR is a sequence number started at 0\&. At the end of each \fBamdump\fR run, log files for runs whose tapes have been reused are renamed into a subdirectory of the main log directory (see the \fBlogdir\fR parameter below) named \fBoldlog\fR\&. It is up to the \fBAmanda\fR administrator to remove them from this directory when desired\&.
339
340 .PP
341 Index (backup image catalogue) files older than the full dump matching the oldest backup image for a given client and disk are removed by \fBamdump\fR at the end of each run\&.
342
343 .SH "DISKLIST FILE"
344
345 .PP
346 The \fBdisklist\fR file determines which disks will be backed up by \fBAmanda\fR\&. The file usually contains one line per disk:
347 .nf
348
349 \fBhostname diskname\fR [\fBdiskdevice\fR] \fBdumptype\fR [\fBspindle\fR [\fBinterface\fR] ]
350 .fi
351
352 .PP
353 All pairs [ \fBhostname diskname\fR ] must be unique\&.
354
355 .PP
356 Lines starting with # are ignored, as are blank lines\&. The fields have the following meanings:
357
358 .TP
359 \fBhostname\fR
360 The name of the host to be backed up\&. If \fBdiskdevice\fR refers to a PC share, this is the host \fBAmanda\fR will run the Samba \fBsmbclient\fR program on to back up the share\&.
361
362 .TP
363 \fBdiskname\fR
364 The name of the disk (a label)\&. In most case, you set your \fBdiskname\fR to the \fBdiskdevice\fR and you don't set the \fBdiskdevice\&.\fR If you want multiple entries with the same \fBdiskdevice\fR, you must set a different \fBdiskname\fR for each entry\&. It's the \fBdiskname\fR that you use on the commandline for any \fBAmanda\fR command\&. Look at the example/disklist file for example\&.
365
366 .TP
367 \fBdiskdevice\fR
368 Default: same as diskname\&. The name of the disk device to be backed up\&. It may be a full device name, a device name without the \fI/dev/\fR prefix, e\&.g\&. \fBsd0a\fR, or a mount point such as \fI/usr\fR\&.
369
370 It may also refer to a PC share by starting the name with two (forward) slashes, e\&.g\&. \fI//some\-pc/home\fR\&. In this case, the \fBprogram\fR option in the associated \fBdumptype\fR must be entered as \fBGNUTAR\fR\&. It is the combination of the double slash disk name and \fBprogram GNUTAR\fR in the \fBdumptype\fR that triggers the use of Samba\&.
371
372 .TP
373 \fBdumptype\fR
374 Refers to a \fBdumptype\fR defined in the \fBamanda\&.conf\fR file\&. \fBDumptype\fRs specify backup related parameters, such as whether to compress the backups, whether to record backup results in \fI/etc/dumpdates\fR, the disk's relative priority, etc\&.
375
376 .TP
377 \fBspindle\fR
378 Default: \fB\-1\fR\&. A number used to balance backup load on a host\&. \fBAmanda\fR will not run multiple backups at the same time on the same spindle, unless the spindle number is \-1, which means there is no spindle restriction\&.
379
380 .TP
381 \fBinterface\fR
382 Default: \fBlocal\fR\&. The name of a network interface definition in the \fBamanda\&.conf\fR file, used to balance network load\&.
383
384 .PP
385 Instead of naming a \fBdumptype\fR, it is possible to define one in\-line, enclosing \fBdumptype\fR options within curly braces, one per line, just like a \fBdumptype\fR definition in \fBamanda\&.conf\fR\&. Since pre\-existing \fBdumptype\fRs are valid option names, this syntax may be used to customize \fBdumptype\fRs for particular disks\&.
386
387 .PP
388 A line break \fBmust\fR follow the left curly bracket\&.
389
390 .PP
391 For instance, if a \fBdumptype\fR named \fBnormal\fR is used for most disks, but use of the holding disk needs to be disabled for the file system that holds it, this would work instead of defining a new dumptype:
392 .nf
393
394 \fBhostname diskname\fR [ \fBdiskdevice\fR ] {
395   normal
396   holdingdisk no
397 } [ \fBspindle\fR [ \fBinterface\fR ] ]
398 .fi
399
400 .SH "TAPE MANAGEMENT"
401
402 .PP
403 The \fBtapelist\fR file contains the list of tapes in active use\&. This file is maintained entirely by \fBAmanda\fR and should not be created or edited during normal operation\&. It contains lines of the form:
404
405 .PP
406
407 .nf
408 YYYYMMDD label flags
409 .fi
410
411
412 .PP
413 Where \fBYYYYMMDD\fR is the date the tape was written, \fBlabel\fR is a label for the tape as written by \fBamlabel\fR and \fBflags\fR tell \fBAmanda\fR whether the tape may be reused, etc (see the \fBreuse\fR options of \fBamadmin\fR)\&.
414
415 .PP
416 \fBAmdump\fR and \fBamflush\fR will refuse to write to an unlabeled tape, or to a labeled tape that is considered active\&. There must be more tapes in active rotation (see the \fBtapecycle\fR option) than there are runs in the backup cycle (see the \fBdumpcycle\fR option) to prevent overwriting a backup image that would be needed to do a full recovery\&.
417
418 .SH "OUTPUT DRIVERS"
419
420 .PP
421 The normal value for the \fBtapedev\fR parameter, or for what a tape changer returns, is a full path name to a non\-rewinding tape device, such as \fI/dev/nst0\fR or \fI/dev/rmt/0mn\fR or \fI/dev/nst0\&.1\fR or whatever conventions the operating system uses\&. \fBAmanda\fR provides additional application level drivers that support non\-traditional tape\-simulations or features\&. To access a specific output driver, set \fBtapedev\fR (or configure your changer to return) a string of the form \fBdriver\fR:\fBdriver\-info\fR where \fBdriver\fR is one of the supported drivers and \fBdriver\-info\fR is optional additional information needed by the driver\&.
422
423 .PP
424 The supported drivers are:
425
426 .TP
427 \fBtape\fR
428 This is the default driver\&. The \fBdriver\-info\fR is the tape device name\&. Entering 
429 .nf
430 tapedev /dev/rmt/0mn
431 .fi
432  is really a short hand for 
433 .nf
434 tapedev tape:/dev/rmt/0mn
435 .fi
436 \&.
437
438 .TP
439 \fBnull\fR
440 This driver throws away anything written to it and returns EOF for any reads except a special case is made for reading a label, in which case a "fake" value is returned that \fBAmanda\fR checks for and allows through regardless of what you have set in \fBlabelstr\fR\&. The \fBdriver\-info\fR field is not used and may be left blank:
441
442
443 .nf
444 tapedev null:
445 .fi
446
447
448 The \fBlength\fR value from the associated \fBtapetype\fR is used to limit the amount of data written\&. When the limit is reached, the driver will simulate end of tape\&.
449
450 .RS
451 .Sh "Note"
452 This driver should only be used for debugging and testing,
453 and probably only with the
454 \fBrecord\fR
455 option set to
456 \fBno\fR\&.
457 .RE
458
459 .TP
460 \fBrait\fR
461 \fBR\fRedundant \fBA\fRrray of \fBI\fRnexpensive (?) \fBT\fRapes\&. Reads and writes tapes mounted on multiple drives by spreading the data across N\-1 drives and using the last drive for a checksum\&. See docs/RAIT for more information\&.
462
463 The \fBdriver\-info\fR field describes the devices to use\&. Curly braces indicate multiple replacements in the string\&. For instance:
464
465
466 .nf
467 tapedev rait:/dev/rmt/tps0d{4,5,6}n
468 .fi
469
470
471 would use the following devices:
472
473 \fI/dev/rmt/tps0d4n\fR  \fI/dev/rmt/tps0d5n\fR  \fI/dev/rmt/tps0d6n\fR 
474
475 .TP
476 \fBfile\fR
477 This driver emulates a tape device with a set of files in a directory\&. The \fBdriver\-info\fR field must be the name of an existing directory\&. The driver will test for a subdirectory of that named \fBdata\fR and return \fBoffline\fR until it is present\&. When present, the driver uses two files in the \fBdata\fR subdirectory for each tape file\&. One contains the actual data\&. The other contains record length information\&.
478
479 The driver uses a file named \fBstatus\fR in the \fBfile\fR device directory to hold driver status information, such as tape position\&. If not present, the driver will create it as though the device is rewound\&.
480
481 The \fBlength\fR value from the associated \fBtapetype\fR is used to limit the amount of data written\&. When the limit is reached, the driver will simulate end of tape\&.
482
483 One way to use this driver with a real device such as a CD\-writer is to create a directory for the \fBfile\fR device and one or more other directories for the actual data\&. Create a symlink named \fBdata\fR in the \fBfile\fR directory to one of the data directories\&. Set the \fBtapetype\fR length to whatever the medium will hold\&.
484
485 When \fBAmanda\fR fills the \fBfile\fR device, remove the symlink and (optionally) create a new symlink to another data area\&. Use a CD writer software package to burn the image from the first data area\&.
486
487 To read the CD, mount it and create the \fBdata\fR symlink in the \fBfile\fR device directory\&.
488
489 .SH "AUTHORIZATION"
490
491 .PP
492 \fBAmanda\fR processes on the tape server host run as the \fBdumpuser\fR user listed in \fBamanda\&.conf\fR\&. When they connect to a backup client, they do so with an \fBAmanda\fR\-specific protocol\&. They do not, for instance, use \fBrsh\fR or \fBssh\fR directly\&.
493
494 .PP
495 On the client side, the \fBamandad\fR daemon validates the connection using one of several methods, depending on how it was compiled and on options it is passed:
496
497 .TP
498 \&.rhosts
499 Even though \fBAmanda\fR does not use \fBrsh\fR, it can use \&.rhosts\-style authentication and a \&.rhosts file\&.
500
501 .TP
502 \&.amandahosts
503 This is essentially the same as \&.rhosts authentication except a different file, with almost the same format, is used\&. This is the default mechanism built into \fBAmanda\fR\&.
504
505 The format of the \fI\&.amandahosts\fR file is:
506
507 \fBhostname\fR [ \fBusername\fR ]
508
509 If \fBusername\fR is ommitted, it defaults to the user running \fBamandad\fR, i\&.e\&. the user listed in the \fBinetd\fR or \fBxinetd\fR configuration file\&.
510
511 .TP
512 Kerberos
513 \fBAmanda\fR may use the Kerberos authentication system\&. Further information is in the \fBdocs/KERBEROS\fR   file that comes with an \fBAmanda\fR distribution\&.
514
515 For Samba access, \fBAmanda\fR needs a file on the Samba server (which may or may not also be the tape server) named \fI/etc/amandapass\fR with share names, (clear text) passwords and (optional) domain names, in that order, one per line, whitespace separated\&. By default, the user used to connect to the PC is the same for all PC's and is compiled into \fBAmanda\fR\&. It may be changed on a host by host basis by listing it first in the password field followed by a percent sign and then the password\&. For instance:
516
517 .nf
518
519   //some\-pc/home normalpw
520   //another\-pc/disk otheruser%otherpw.fi
521 With clear text passwords, this file should obviously be tightly protected\&. It only needs to be readable by the \fBAmanda\fR\-user on the Samba server\&.
522
523 You can find further information in the \fBdocs/SAMBA\fR   file that comes with an \fBAmanda\fR distribution\&.
524
525 .SH "HOST & DISK EXPRESSION"
526
527 .PP
528 All host and disk arguments to programs are special expressions\&. The command applies to all disks that match your arguments\&. This section describes the matcher\&.
529
530 .PP
531 The matcher matches by word, each word is a glob expression, words are separated by the separator '\&.' for host and '/' for disk\&. You can anchor the expression at left with a '^'\&. You can anchor the expression at right with a '$'\&. The matcher is case insensitive for host but is case sensitive for disk\&. A match succeeds if all words in your expression match contiguous words in the host or disk\&.
532
533 .nf
534
535 \&.     word separator for a host
536 /       word separator for a disk
537 ^       anchor at left
538 $       anchor at right
539 ?       match exactly one character except the separator
540 *       match zero or more characters except the separator
541 **      match zero or more characters including the separator
542
543 .fi
544
545 .PP
546 Some examples:
547
548 .nf
549
550 EXPRESSION     WILL MATCH           WILL NOT MATCH
551 hosta          hosta                hostb
552                hoSTA\&.dOMAIna\&.ORG 
553                foo\&.hosta\&.org 
554 host           host                 hosta
555 host?          hosta                host
556                hostb 
557 ho*na          hoina                ho\&.aina\&.org
558 ho**na         hoina 
559                ho\&.aina\&.org 
560 ^hosta         hosta                foo\&.hosta\&.org
561 sda*           /dev/sda1 
562                /dev/sda12 
563 /opt/          opt (disk)           opt (host)
564 \&.opt\&.          opt (host)           opt (disk)
565 /              /                    any other disk
566 /usr           /usr 
567                /usr/opt 
568 /usr$          /usr                 /usr/opt
569
570 .fi
571
572 .SH "DATESTAMP EXPRESSION"
573
574 .PP
575 A \fBdatestamp\fR expression is a range expression where we only match the prefix\&. Leading ^ is removed\&. Trailing $ forces an exact match\&.
576 20001212\-14match all dates beginning with 20001212, 20001213 or 2000121420001212\-4same as previous20001212\-24match all dates between 20001212 and 200012242000121match all dates that start with 2000121 (20001210\-20001219)2match all dates that start with 2 (20000101\-29991231)2000\-10match all dates between 20000101\-20101231200010$match only 200010
577 .PP
578
579
580 .SH "AUTHOR"
581
582 .PP
583 James da Silva, <jds@amanda\&.org> : Original text
584
585 .PP
586 Stefan G\&. Weichinger, <sgw@amanda\&.org>, maintainer of the \fBAmanda\fR\-documentation: XML\-conversion, major update
587
588 .SH "SEE ALSO"
589
590 .PP
591  \fBamadmin\fR(8), \fBamanda\&.conf\fR(5), \fBamcheck\fR(8), \fBamcheckdb\fR(8), \fBamcleanup\fR(8), \fBamdd\fR(8), \fBamdump\fR(8), \fBamfetchdump\fR(8)  \fBamflush\fR(8), \fBamgetconf\fR(8), \fBamlabel\fR(8), \fBammt\fR(8), \fBamoverview\fR(8), \fBamplot\fR(8), \fBamrecover\fR(8), \fBamreport\fR(8), \fBamrestore\fR(8), \fBamrmtape\fR(8), \fBamstatus\fR(8), \fBamtape\fR(8), \fBamtapetype\fR(8), \fBamtoc\fR(8), \fBamverify\fR(8), \fBamverifyrun\fR(8)
592