.\" Title: amflush
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\" Date: 05/14/2008
+.\" Date: 08/22/2008
.\" Manual:
.\" Source:
.\"
-.TH "AMFLUSH" "8" "05/14/2008" "" ""
+.TH "AMFLUSH" "8" "08/22/2008" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
\fBamflush\fR
writes the data to tape, updates the databases and sends a mail report similar to
\fBamdump\fR(8)\.
-.sp
-.RS 4
.nf
% amflush daily
Scanning /amanda\-hold\.\.\.
Running in background, you can log off now\.
You\'ll get mail when amflush is finished\.
.fi
-.RE
+.SH "EXIT CODE"
+
+The exit code of \fBamflush\fR is the ORed value of:
+.nf
+ 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
+.fi
.SH "AUTHOR"
.PP
James da Silva,
\fBamanda\fR(8),
\fBamdump\fR(8),
-\fI\%http://wiki.zmanda.com\fR
+: http://wiki.zmanda.com