AMTOC(1)AMTOC(1)NAME
amtoc - generate tape table of contents for an Amanda run
SYNOPSIS
amtoc [ -c ] config [ -l label ] [ -h host ] [ -v ] [ -i ]
[ -t ] [ -f ]
DESCRIPTION
Amtoc generates a tape table of contents (TOC) for an
Amanda run. It's a perl script, you need to install perl
first.
See the amanda(8) man page for more details about Amanda.
OPTIONS
[ -c ] config
Name of the configuration to process.
-l label
Label of the tape (default: last Amanda run).
-h host
Only process the specified host (default: all
hosts).
-v Be verbose. This output is not really a TOC, but a
full dump of the database. It may be restricted by
the -l and -h options.
-i Add an informational text header to the beginning
of the TOC containing a reminder about how to
restore files.
-t Use tab rather than spaces between the output
fields.
-f Write output to a file rather than standard output.
The file is named:
logdir/label.toc,
where logdir is the log directory defined in
amanda.conf, and label is the tape label (any '/'
characters are converted to '_').
EXAMPLE
Amtoc is normally run right after amflush or amdump.
# amdump DailySet1
# amtoc DailySet1 -f
AUTHOR
Nicolas MAYENCOURT <nicolas@cui.unige.ch>
University of Geneva/Switzerland
1
AMTOC(1)AMTOC(1)SEE ALSOamanda(8), amflush(8), perl(1)BUGS
Amtoc uses the Amanda database, which only maintains
information about the last tape used at a given backup
level. Generating a TOC for the most recent run should be
OK, but generating one for an older run is usually only
partially correct.
2