Imported Upstream version 2.5.1p3
[debian/amanda] / man / amdump.8
1 .\"     Title: amdump
2 .\"    Author: 
3 .\" Generator: DocBook XSL Stylesheets v1.72.0 <http://docbook.sf.net/>
4 .\"      Date: 02/07/2007
5 .\"    Manual: 
6 .\"    Source: 
7 .\"
8 .TH "AMDUMP" "8" "02/07/2007" "" ""
9 .\" disable hyphenation
10 .nh
11 .\" disable justification (adjust text to left margin only)
12 .ad l
13 .SH "NAME"
14 amdump \- back up all disks in an Amanda configuration
15 .SH "SYNOPSIS"
16 .HP 7
17 \fBamdump\fR \fIconfig\fR [\fIhost\fR\ [\fIdisk\fR...]...] [\-o\ \fIconfigoption\fR]...
18 .SH "DESCRIPTION"
19 .PP
20 \fBAmdump\fR
21 switches to the appropriate
22 \fIAmanda\fR
23 configuration directory, e.g. /usr/local/etc/amanda/\fIconfig\fR, then attempts to back up every disk specified by the
24 \fIamanda.conf\fR
25 file.
26 \fBAmdump\fR
27 is normally run by
28 \fBcron\fR.
29 .PP
30 You can specify many host/disk expressions, only disks that match an expression will be dumped. All disks are dumped if no expressions are given.
31 .PP
32 If the file /usr/local/etc/amanda/\fIconfig\fR/hold exists,
33 \fBamdump\fR
34 will wait until it is removed before starting the backups. This allows scheduled backups to be delayed when circumstances warrant, for example, if the tape device is being used for some other purpose. While waiting,
35 \fBamdump\fR
36 checks for the hold file every minute.
37 .PP
38 See the
39 \fBamanda\fR(8)
40 man page for more details about
41 \fIAmanda\fR.
42 .SH "OPTIONS"
43 .PP
44 \fIhost\fR [\fIdisk\fR]*
45 .RS 4
46 Specify the host and disk on which the command will work.
47 .RE
48 .PP
49 \fB\-o\fR \fIconfigoption\fR
50 .RS 4
51 See the "\fBCONFIGURATION OVERWRITE\fR" section in
52 \fBamanda\fR(8).
53 .RE
54 .SH "EXAMPLE"
55 .PP
56 Here is a typical crontab entry. It runs
57 \fBamdump\fR
58 every weeknight at 1 a.m. as user
59 \fBbin\fR:
60 .sp
61 .RS 4
62 .nf
63 0 1 * * 1\-5 bin /usr/local/sbin/amdump daily
64 .fi
65 .RE
66 .PP
67 Please see the
68 \fBcrontab\fR(5)
69 or
70 \fBcrontab\fR(1)
71 manual page for the correct crontab format for your system.
72 .SH "MESSAGES"
73 .PP
74 amdump: waiting for hold file to be removed
75 .RS 4
76 The "hold" file exists and
77 \fBamdump\fR
78 is waiting for it to be removed before starting backups.
79 .RE
80 .PP
81 amdump: amdump or amflush is already running, or you must run amcleanup
82 .RS 4
83 Amdump detected another
84 \fBamdump\fR
85 or
86 \fBamflush\fR
87 running, or the remains of a previous incomplete
88 \fBamdump\fR
89 or
90 \fBamflush\fR
91 run. This run is terminated. If the problem is caused by the remains of a previous run, you must execute
92 \fBamcleanup\fR(8)
93 and then rerun
94 \fBamdump\fR.
95 .RE
96 .SH "AUTHOR"
97 .PP
98 James da Silva,
99 <jds@amanda.org>
100 : Original text
101 .PP
102 Stefan G. Weichinger,
103 <sgw@amanda.org>, maintainer of the
104 \fIAmanda\fR\-documentation: XML\-conversion
105 .SH "SEE ALSO"
106 .PP
107 \fBamanda\fR(8),
108 \fBamcheck\fR(8),
109 \fBamcleanup\fR(8),
110 \fBamrestore\fR(8),
111 \fBamflush\fR(8),
112 \fBcron\fR(8)