<refsynopsisdiv>
<cmdsynopsis>
<command>amfetchdump</command>
- <arg choice='opt'>-phcClawns</arg>
- <arg choice='opt'>-d <replaceable>device</replaceable></arg>
+ <group choice='opt'>
+ <arg choice='plain'>-c</arg>
+ <arg choice='plain'>-C</arg>
+ <arg choice='plain'>-l</arg>
+ </group>
+ <group choice='opt'>
+ <arg choice='plain'>-p</arg>
+ <arg choice='plain'>-n</arg>
+ </group>
+ <arg choice='opt'>-a</arg>
<arg choice='opt'>-O <replaceable>directory</replaceable></arg>
- <arg choice='opt'>-b <replaceable>blocksize</replaceable></arg>
- <arg choice='opt'>--header-fd <replaceable>fd</replaceable></arg>
- <arg choice='opt'>--header-file <replaceable>filename</replaceable></arg>
- <arg choice='plain' rep='repeat'><group><arg choice='plain'>-o </arg><replaceable>configoption</replaceable></group></arg>
+ <arg choice='opt'>-d <replaceable>device</replaceable></arg>
+ <group choice='opt'>
+ <arg choice='plain'>-h</arg>
+ <arg choice='plain'>--header-file <replaceable>filename</replaceable></arg>
+ <arg choice='plain'>--header-fd <replaceable>fd</replaceable></arg>
+ </group>
+ <group choice='opt'>
+ <arg choice='plain'>--decompress</arg>
+ <arg choice='plain'>--no-decompress</arg>
+ <arg choice='plain'>--server-decompress</arg>
+ <arg choice='plain'>--client-decompress</arg>
+ </group>
+ <group choice='opt'>
+ <arg choice='plain'>--decrypt</arg>
+ <arg choice='plain'>--no-decrypt</arg>
+ <arg choice='plain'>--server-decrypt</arg>
+ <arg choice='plain'>--client-decrypt</arg>
+ </group>
+ &configoverride.synopsis;
<arg choice='plain'><replaceable>config</replaceable></arg>
<arg choice='plain'><replaceable>hostname</replaceable></arg>
<arg choice='opt'>
<para><emphasis remap='B'>Amfetchdump</emphasis>
pulls one or more matching dumps from tape or from the holding disk,
handling the reassembly of multi-tape split dump files as well as any
-tape autochanger operations.</para>
+tape autochanger operations. The dump are by default decompressed and decrypted.
+</para>
-<para>It will automatically use the logs created by
-<manref name="amdump" vol="8"/>
+<para>It will automatically use the Amanda catalog
to locate available dumps on tape, in the same way that the <emphasis
remap='B'>find</emphasis> feature of
<manref name="amadmin" vol="8"/>
-lists available dumps. If these logs are unavailable, it can search
-tape-by-tape to find what it needs, and can generate new logs to serve
-as an emergency tape inventory.</para>
+lists available dumps.</para>
<para>The
<emphasis remap='I'>hostname</emphasis>,
<emphasis remap='I'>diskname</emphasis>,
<emphasis remap='I'>datestamp</emphasis>,
and
-<emphasis remap='I'>level</emphasis> dump pattern-matching works as in
-<manref name="amrestore" vol="8"/>,
-with the added requirement that at minimum a <emphasis
-remap='I'>hostname</emphasis> must be specified when not in inventory mode.</para>
+<emphasis remap='I'>level</emphasis> dump specifications are further described in
+<manref name="amanda-match" vol="7"/>.
+Note that at minimum a <emphasis remap='I'>hostname</emphasis> must be specified.</para>
-<para>Unless
-<option>-p</option>
+<para>Unless <option>-p</option>
is used, backup images are extracted to files in the current directory named:</para>
<para>If a changer error occurs, or the <option>-d</option> option is given,
<listitem><para>Compress output, smallest file size method
available.</para></listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--decompress</option></term>
+ <listitem><para>Always do the decompression, this is the default.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--no-decompress</option></term>
+ <listitem><para>Never do the decompression.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--server-decompress</option></term>
+ <listitem><para>Do the decompression only if the compression was done on
+the server.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--client-decompress</option></term>
+ <listitem><para>Do the decompression only if the compression was done on
+the client.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--decrypt</option></term>
+ <listitem><para>Always do the decryption, this is the default.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--no-decrypt</option></term>
+ <listitem><para>Never do the decryption.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--server-decrypt</option></term>
+ <listitem><para>Do the decryption only if the encryption was done on
+the server.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>--client-decrypt</option></term>
+ <listitem><para>Do the decryption only if the encryption was done on
+the client.</para></listitem>
+ </varlistentry>
<varlistentry>
<term><option>-l</option></term>
-<listitem><para>Leave dumps in the compressed/uncompressed state in which they
-were found on tape. By default, <emphasis
-remap='B'>amfetchdump</emphasis> will automatically uncompress when
-restoring.</para></listitem>
+<listitem><para>Leave dumps in the compressed/uncompressed and
+encrypted/unencrypted state in which they were found on tape.
+It is a synonym for <option>--no-decompression</option>
+<option>--no-decryption</option></para></listitem>
</varlistentry>
<varlistentry>
<term><option>-a</option></term>
</refsect1>
<seealso>
+<manref name="amanda-match" vol="7"/>,
<manref name="amadmin" vol="8"/>,
<manref name="amrestore" vol="8"/>,
-<manref name="tar" vol="1"/>
-<manref name="restore" vol="8"/>
</seealso>
</refentry>