<refsect1><title>DESCRIPTION</title>
<para><emphasis remap='B'>Amflush</emphasis>
writes &A; backups from the holding disks to tape,
<refsect1><title>DESCRIPTION</title>
<para><emphasis remap='B'>Amflush</emphasis>
writes &A; backups from the holding disks to tape,
Backups may stay in a holding disk when something is wrong with the tape
at the time
<emphasis remap='B'>amdump</emphasis>
Backups may stay in a holding disk when something is wrong with the tape
at the time
<emphasis remap='B'>amdump</emphasis>
Running in background, you can log off now.
You'll get mail when amflush is finished.
</programlisting>
Running in background, you can log off now.
You'll get mail when amflush is finished.
</programlisting>
+
+<para>The following example causes amflush to flush everything to tape, then
+ejects tape, using 'at' to run the task in the background.</para>
+
+<programlisting>
+% echo 'amflush -b -f MyConfig && mt offline' | at now
+</programlisting>
-<refsect1><title>AUTHOR</title>
-<para>James da Silva, &email.jds; : Original text</para>
-<para>&maintainer.sgw;: XML-conversion</para>
+<refsect1><title>EXIT CODE</title>
+The exit code of <command>amflush</command> is the ORed value of:
+<programlisting>
+ 0 = success
+ 1 = error
+ 4 = a dle failed
+ 8 = Don't know the status of a dle (RESULT_MISSING in the report)
+ 16 = tape error or no more tape
+</programlisting>
</refsect1>
<refsect1><title>SEE ALSO</title>
<para>
<citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>amdump</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
</refsect1>
<refsect1><title>SEE ALSO</title>
<para>
<citerefentry><refentrytitle>amanda</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>amdump</refentrytitle><manvolnum>8</manvolnum></citerefentry>,