amdump+amverify [was Re: How to tell if a tape is loaded]
2005-11-29 13:58:46
This is off-topic. I haven't been using amverify, but I guess it is a
good idea, if one wannt to be sure the backup was properly
performed. So I liked the script in the original post very
interesting:
Yan> /usr/local/bin/vxaTool /dev/st0 -C 1 //turns on compression
Yan> /usr/sbin/amdump SeinerHome
Yan> /usr/sbin/amverify SeinerHome
Yan> /usr/local/bin/vxaTool /dev/st0 -u //ejects tape
(The only change I'd do is to replace vxaTool by the an amtape call,
since chg-scsi works fine for me)
My question is: each one of amdump and amverify send a mail; is it
possible to make them send a single mail, with both the dump sumary
and the verify report?
Cheers,
Rodrigo
--
*** Rodrigo Martins de Matos Ventura <yoda AT isr.ist.utl DOT pt>
*** Web page: http://www.isr.ist.utl.pt/~yoda
*** Teaching Assistant and PhD Student at ISR:
*** Instituto de Sistemas e Robotica, Polo de Lisboa
*** Instituto Superior Tecnico, Lisboa, PORTUGAL
*** PGP fingerprint = 0119 AD13 9EEE 264A 3F10 31D3 89B3 C6C4 60C6 4585
|
|
|