AMTOC - Online Linux Manual PageSection : 8
Updated : 12/01/2017
Source : Amanda 3​.5​.1
Note : System Administration Commands

NAMEamtoc − generate TOC (Table Of Contents) for an Amanda run

SYNOPSISamtoc [−a] [−i] [−t] [−f file] [−s subs] [−w] [−−] logfile

DESCRIPTIONAmtoc 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 equivalent 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 FORMATThe 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: − − 16716288In tabular format (−t), this would look like: # Server:/partition date lev 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

USAGEThe easiest way to use it is to run amtoc right after amdump in the cron job: amdump daily ; logdir=`amgetconf daily logdir` ; log=`ls −1t $logdir/log​.*​.[0−9] | head −1` ; amtoc −a $logwhich will generate /usr/local/etc/amanda//daily/tape_label​.toc​. You may also want to call amtoc after an amflush​.

SEE ALSOamanda(8), amdump(8), amflush(8), amgetconf(8) The Amanda Wiki: : http://wiki.zmanda.com/

AUTHORSNicolas Mayencourt <​Nicolas​.Mayencourt@cui​.unige​.ch​> University of Geneva/Switzerland Stefan G​. Weichinger <​sgw@amanda​.org​>
0
Johanes Gumabo
Data Size   :   12,570 byte
man-amtoc.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 192,881
Visitor ID   :     :  
Visitor IP   :   3.22.130.228   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.