X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=man%2Fxml-source%2Famtoc.8.xml;h=fa36822aa491e464bd16c1b8885c2fe37d8b9d58;hb=HEAD;hp=66b319660f04611ed9413631b39152ef78c74221;hpb=1194fb66aa28d9929c3f2bef3cc6c1c3f40a60a4;p=debian%2Famanda
diff --git a/man/xml-source/amtoc.8.xml b/man/xml-source/amtoc.8.xml
index 66b3196..fa36822 100644
--- a/man/xml-source/amtoc.8.xml
+++ b/man/xml-source/amtoc.8.xml
@@ -3,7 +3,7 @@
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"
[
-
+
%global_entities;
]>
@@ -12,11 +12,18 @@
amtoc
8
+&rmi.source;
+&rmi.version;
+&rmi.manual.8;
amtoc
-generate TOC (Table Of Contents) for an &A; run
+generate TOC (Table Of Contents) for an Amanda run
+
+&author.nm;
+&author.sgw.xml;
+
@@ -35,7 +42,7 @@
DESCRIPTION
Amtoc
-generates a table of contents for an &A; run.
+generates a table of contents for an Amanda run.
It's a perl script (if you don't have perl, install it first!).
@@ -108,8 +115,7 @@ option is equivalent to
OUTPUT FORMAT
The standard output has five fields separated by two spaces:
-
-
+
# Server:/partition date level size[Kb]
0 daily-05: 19991005 - -
1 cuisun15:/cuisun15/home 19991005 1 96
@@ -117,12 +123,10 @@ option is equivalent to
...
103 cuisg11:/ 19991005 0 4139136
103 total: - - 16716288
-
-
-In tabular format (-t), this would look like:
+
+In tabular format (-t), this would look like:
-
-
+
# Server:/partition date lev size[Kb]
0 daily-05: 19991005 - -
1 cuisun15:/cuisun15/home 19991005 1 96
@@ -130,8 +134,7 @@ option is equivalent to
...
103 cuisg11:/ 19991005 0 4139136
103 total: - - 16716288
-
-
+
USAGE
The easiest way to use it is to run
@@ -142,9 +145,9 @@ in the
cron job:
-
+
amdump daily ; logdir=`amgetconf daily logdir` ; log=`ls -1t $logdir/log.*.[0-9] | head -1` ; amtoc -a $log
-
+
which will generate /usr/local/etc/amanda//daily/tape_label.toc.
You may also want to call
@@ -153,18 +156,12 @@ after an
amflush.
-SEE ALSO
-amanda8,
-amdump8,
-amflush8,
-amgetconf8,
-cron,
-perl
-
+
+,
+,
+
+
+
-AUTHOR
-Nicolas Mayencourt Nicolas.Mayencourt@cui.unige.ch, University of Geneva/Switzerland : Original text
-&maintainer.sgw;: XML-conversion
-