Imported Upstream version 2.5.1
[debian/amanda] / man / xml-source / amdump.8.xml
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
3                    "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
4 [
5   <!-- entities files to use -->
6   <!ENTITY % global_entities SYSTEM '../entities/global.entities'>
7   %global_entities;
8 ]>
9
10 <!-- lifted from troff+man by doclifter -->
11 <refentry id='amdump.8'>
12
13 <refmeta>
14 <refentrytitle>amdump</refentrytitle>
15 <manvolnum>8</manvolnum>
16 </refmeta>
17 <refnamediv>
18 <refname>amdump</refname>
19 <refpurpose>back up all disks in an &A; configuration</refpurpose>
20 </refnamediv>
21 <!-- body begins here -->
22 <refsynopsisdiv>
23 <cmdsynopsis>
24   <command>amdump</command>    
25     <arg choice='plain'><replaceable>config</replaceable></arg>
26     <group><arg choice='plain'><replaceable>host</replaceable></arg><arg choice='opt'><replaceable>disk</replaceable></arg>*</group>*
27     <group><arg choice='plain'>-o</arg><arg choice='plain'><replaceable>configoption</replaceable></arg></group>*
28 </cmdsynopsis>
29 </refsynopsisdiv>
30
31
32 <refsect1><title>DESCRIPTION</title>
33 <para><emphasis remap='B'>Amdump</emphasis>
34 switches to the appropriate &A; configuration directory,
35 e.g. /usr/local/etc/amanda/<emphasis remap='I'>config</emphasis>,
36 then attempts to back up every disk specified by the
37 <emphasis remap='I'>amanda.conf</emphasis>
38 file.
39 <emphasis remap='B'>Amdump</emphasis>
40 is normally run by
41 <emphasis remap='B'>cron</emphasis>.</para>
42
43 <para>You can specify many host/disk expressions, only disks that
44 match an expression will be dumped. All disks are dumped if no
45 expressions are given.</para>
46
47 <para>If the file /usr/local/etc/amanda/<emphasis remap='I'>config</emphasis>/hold exists,
48 <command>amdump</command>
49 will wait until it is removed before starting the backups.
50 This allows scheduled backups to be delayed when circumstances warrant, for example, 
51 if the tape device is being used for some other purpose.
52 While waiting,
53 <command>amdump</command>
54 checks for the hold file every minute.</para>
55
56 <para>See the
57 <citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry>
58 man page for more details about &A;.</para>
59 </refsect1>
60
61 <refsect1><title>OPTIONS</title>
62 <variablelist remap='TP'>
63
64   <varlistentry>
65   <term><replaceable>host</replaceable> [<replaceable>disk</replaceable>]*</term>
66   <listitem>
67 <para>Specify the host and disk on which the command will work.</para>
68   </listitem>
69   </varlistentry>
70
71   <varlistentry>
72   <term><emphasis remap='B'>-o</emphasis> <replaceable>configoption</replaceable></term>
73   <listitem>
74 <para>See the "<emphasis remap='B'>CONFIGURATION OVERWRITE</emphasis>" section in <citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry>.</para>
75   </listitem>
76   </varlistentry>
77
78 </variablelist>
79 </refsect1>
80
81 <refsect1><title>EXAMPLE</title>
82 <para>Here is a typical crontab entry. It runs
83 <command>amdump</command>
84 every weeknight at 1 a.m. as user
85 <emphasis remap='B'>bin</emphasis>:</para>
86
87 <programlisting>
88 0 1 * * 1-5 bin /usr/local/sbin/amdump daily
89 </programlisting>
90
91 <para>Please see the 
92 <citerefentry><refentrytitle>crontab</refentrytitle><manvolnum>5</manvolnum></citerefentry>
93 or
94 <citerefentry><refentrytitle>crontab</refentrytitle><manvolnum>1</manvolnum></citerefentry>
95 manual page for the correct crontab format for your system.</para>
96 </refsect1>
97
98 <refsect1><title>MESSAGES</title>
99 <variablelist remap='TP'>
100   <varlistentry>
101   <term>amdump: waiting for hold file to be removed</term>
102   <listitem>
103 <para>The &quot;hold&quot; file exists and &amdump; is waiting for it to be removed
104 before starting backups.</para>
105   </listitem>
106   </varlistentry>
107   <varlistentry>
108   <term>amdump: amdump or amflush is already running, or you must run amcleanup</term>
109   <listitem>
110 <para>Amdump detected another &amdump; or &amflush; running,
111 or the remains of a previous incomplete &amdump; or &amflush; run.
112 This run is terminated.
113 If the problem is caused by the remains of a previous run,
114 you must execute
115 <citerefentry><refentrytitle>amcleanup</refentrytitle><manvolnum>8</manvolnum></citerefentry>
116 and then rerun
117 <command>amdump</command>.</para>
118   </listitem>
119   </varlistentry>
120 </variablelist>
121 </refsect1>
122
123 <refsect1><title>AUTHOR</title>
124 <para>James da Silva, &email.jds; : Original text</para>
125 <para>&maintainer.sgw;: XML-conversion</para>
126 </refsect1>
127
128 <refsect1><title>SEE ALSO</title>
129 <para><citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
130 <citerefentry><refentrytitle>amcheck</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
131 <citerefentry><refentrytitle>amcleanup</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
132 <citerefentry><refentrytitle>amrestore</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
133 <citerefentry><refentrytitle>amflush</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
134 <citerefentry><refentrytitle>cron</refentrytitle><manvolnum>8</manvolnum></citerefentry></para>
135 </refsect1>
136 </refentry>
137