amtoc man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



AMTOC(8)						 AMTOC(8)

NAME
       amtoc - generate TOC (Table Of Contents) for an Amanda run

SYNOPSIS
       amtoc [ -a ] [ -i ] [ -t ] [ -f file ] [ -s subs ] [ -w	]
       [ -- ] logfile

DESCRIPTION
       Amtoc  generates	 a  table  of contents for an Amanda run.
       It's a perl script (if you don't	 have  perl,  install  it
       first!).

OPTIONS
       -a     The  output file name will be label-of-the-tape.toc
	      in the same directory as logfile.

       -i     Display help about amtoc.

       -t     Generate the output in tabular form.

       -f file
	      Write the output to a file ('-' for stdout).

       -s subs
	      Evaluate the output file name from  subs,	 with  $_
	      set to label-of-the-tape.	 The -a option is equiva
	      lent to -s 's/$_/.toc/'.

       -w     Separate tapes with form-feeds  and  display  blank
	      lines before totals.

       --     Marks  the last option so the next parameter is the
	      logfile.

       logfile
	      (use '-' for stdin)

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
	      2	 cuinfs:/export/dentiste  19991005  1  96
		...
	      103  cuisg11:/  19991005	0  4139136
	      103  total:  -  -	 16716288

       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

								1

AMTOC(8)						 AMTOC(8)

		2  cuinfs:/export/dentiste     19991005	   1	    96
		...
	      103  cuisg11:/		       19991005	   0   4139136
	      103  total:		       -	   -  16716288

USAGE
       The  easiest  way  to  use  it is to run amtoc right after
       amdump in the cron job:

	      amdump DailySet1 ; logdir=`amgetconf DailySet1 logdir` ; log=`ls -1t $logdir/log.*.[0-9] | head -1` ; amtoc -a $log

       which   will   generate	  /usr/freeware/etc/amanda/Daily
       Set1/tape_label.toc.   You  may	also  want  to call amtoc
       after an amflush.

SEE ALSO
       amanda(8), amdump(8), amflush(8), amgetconf(8), cron, perl

AUTHOR
       Nicolas MAYENCOURT <Nicolas.Mayencourt@cui.unige.ch>
       University of Geneva/Switzerland

								2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net