X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=man%2Fxml-source%2Famflush.8.xml;h=c27261bc0751d1be06b5bad32e4c909d67ed103c;hb=b116e9366c7b2ea2c2eb53b0a13df4090e176235;hp=e52dc96acce7034b3494408d44cc6a53ab7bd180;hpb=94a044f90357edefa6f4ae9f0b1d5885b0e34aee;p=debian%2Famanda
diff --git a/man/xml-source/amflush.8.xml b/man/xml-source/amflush.8.xml
index e52dc96..c27261b 100644
--- a/man/xml-source/amflush.8.xml
+++ b/man/xml-source/amflush.8.xml
@@ -3,7 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
[
-
+
%global_entities;
]>
@@ -13,11 +13,18 @@
amflush8
+&rmi.source;
+&rmi.version;
+&rmi.manual.8;
amflush
-flush &A; backup files from holding disk to tape
+flush Amanda backup files from holding disk to tape
+
+&author.jds;
+&author.sgw.xml;
+
@@ -31,22 +38,27 @@
hostdisk
- -o configoption
+ &configoverride.synopsis;
DESCRIPTIONAmflush
-writes &A; backups from the holding disks to tape,
-and updates the &A; info database and tapelist accordingly.
+writes Amanda backups from the holding disks to tape,
+and updates the Amanda info database and &tapelist; accordingly.
+It is similar to amdump, but does not perform any backup operations on
+Amanda clients.
Backups may stay in a holding disk when something is wrong with the tape
-at the time
-amdump
-is run.
+at the time amdump is run.
When this happens, the problem must be corrected and
-amflush
-run by hand.
+amflush run by hand.
+
+The command optionally takes a set of DLE specifications
+ (see ) to narrow the DLEs for which dumps will be flushed.
+All dumps in holding are flushed if no expressions are given.
+
OPTIONS
@@ -90,43 +102,38 @@ option.
-specify a datestamp expression you want to flush, see the
-"DATESTAMP EXPRESSION" section of
-amanda8
-for a description.
+specify a datestamp expression you want to flush; see
+
+for details on the format of this expression.
-will flush all
-dumps from 25 december 2000 to 27 december 2000.
+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.
+Specify the host and disk on which the command will work -- see
+ the description of DLE specifications in .
-
- -oconfigoption
-
-See the "CONFIGURATION OVERRIDE" section in amanda8.
-
-
+
+ &configoverride.varlistentry;
You can specify many host/disk expressions, only disks that
match an expression will be flushed. All disks are flushed if no
expressions are given. see the "HOST & DISK EXPRESSION" section of
-amanda8
+
for a description.Amflush
will look in the holding disks specified by the
amanda.conf
file in /usr/local/etc/amanda/config
-for any non-empty &A; work directories.
+for any non-empty Amanda work directories.
It then prompts you to select a directory
or to process all of the directories.
The work directories in the holding disks are named by the date at the time
@@ -135,8 +142,8 @@ was run, e.g.
19910215.See the
-amanda8
-man page for more details about &A;.
+
+man page for more details about Amanda.
EXAMPLE
@@ -148,15 +155,15 @@ After you select which holding area to flush,
amflush
writes the data to tape, updates the databases and sends
a mail report similar to
-amdump8.
+.
-% amflush daily
+% amflush MyConfig
Scanning /amanda-hold...
- 20001113: found &A; directory.
- 20001114: found &A; directory.
+ 20001113: found Amanda directory.
+ 20001114: found Amanda directory.
-Multiple &A; directories, please pick one by letter:
+Multiple Amanda directories, please pick one by letter:
A. 20001113
B. 20001114
Select directories to flush [A..B]: [ALL] all
@@ -169,19 +176,30 @@ 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.
-
-AUTHOR
-James da Silva, &email.jds; : Original text
-&maintainer.sgw;: XML-conversion
+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
+
-SEE ALSO
-
- amanda8,
- amdump8,
- http://wiki.zmanda.com
-
+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
+
+
+
+
+
+
+