Imported Upstream version 2.6.0p2
[debian/amanda] / man / amflush.8
index e7d665d172222a292fb5bcae6dec4023fff4d6ca..7568e4035a874576e61b466a9bdf515db1f492ed 100644 (file)
@@ -1,11 +1,11 @@
 .\"     Title: amflush
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
 .\"     Title: amflush
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\"      Date: 05/14/2008
+.\"      Date: 08/22/2008
 .\"    Manual: 
 .\"    Source: 
 .\"
 .\"    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)
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
@@ -106,8 +106,6 @@ configuration\. After you select which holding area to flush,
 \fBamflush\fR
 writes the data to tape, updates the databases and sends a mail report similar to
 \fBamdump\fR(8)\.
 \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\.\.\.
 .nf
 % amflush daily
 Scanning /amanda\-hold\.\.\.
@@ -127,7 +125,16 @@ Are you sure you want to do this? yes
 Running in background, you can log off now\.
 You\'ll get mail when amflush is finished\.
 .fi
 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,
 .SH "AUTHOR"
 .PP
 James da Silva,
@@ -142,4 +149,4 @@ Stefan G\. Weichinger,
 
 \fBamanda\fR(8),
 \fBamdump\fR(8),
 
 \fBamanda\fR(8),
 \fBamdump\fR(8),
-\fI\%http://wiki.zmanda.com\fR
+: http://wiki.zmanda.com