X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=man%2Fxml-source%2Famflush.8.xml;h=50b4760baa3db9a33b99700bc27a30e2889bb329;hb=2627875b7d18858bc1f9f7652811e4d8c15a23eb;hp=457cc42a8951ceacbb64ac768d19ea478c0b14a3;hpb=1194fb66aa28d9929c3f2bef3cc6c1c3f40a60a4;p=debian%2Famanda diff --git a/man/xml-source/amflush.8.xml b/man/xml-source/amflush.8.xml index 457cc42..50b4760 100644 --- a/man/xml-source/amflush.8.xml +++ b/man/xml-source/amflush.8.xml @@ -13,23 +13,32 @@ amflush 8 +&rmi.source; +&rmi.version; +&rmi.manual.8; amflush flush &A; backup files from holding disk to tape + +&author.jds; +&author.sgw.xml; + amflush - -b - -f - -s - -D datestamp - + -b + -f + -s + -D datestamp config - hostdisk - + + host + disk + + -o configoption @@ -37,7 +46,7 @@ DESCRIPTION Amflush writes &A; backups from the holding disks to tape, -and updates the &A; info database and tapelist accordingly. +and updates the &A; info database and &tapelist; accordingly. Backups may stay in a holding disk when something is wrong with the tape at the time amdump @@ -97,6 +106,21 @@ will flush all dumps from 25 december 2000 to 27 december 2000. + + + host [disk]* + +Specify the host and disk on which the command will work. + + + + + -o configoption + +See the "CONFIGURATION OVERRIDE" section in amanda8. + + + You can specify many host/disk expressions, only disks that @@ -134,7 +158,7 @@ a mail report similar to amdump8. -% amflush daily +% amflush MyConfig Scanning /amanda-hold... 20001113: found &A; directory. 20001114: found &A; directory. @@ -152,16 +176,32 @@ 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. + +The following example causes amflush to flush everything to tape, then +ejects tape, using 'at' to run the task in the background. + + +% echo 'amflush -b -f MyConfig && mt offline' | at now + -AUTHOR -James da Silva, &email.jds; : Original text -&maintainer.sgw;: XML-conversion +EXIT CODE +The exit code of amflush is the ORed value of: + + 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 + SEE ALSO -amanda8, -amdump8 + + amanda8, + amdump8, + +