1836626 Members
1651 Online
110102 Solutions
New Discussion

Re: OmniBack v3.10

 
SOLVED
Go to solution
James Purtell
Occasional Contributor

OmniBack v3.10

Has anyone writen a post-exec script that verifies data on your backup tape is correct?
It would use the command "omnimver".
Jim
I sense much NT in you. - NT leads to Bluescreen. - Bluescreen leads to downtime. - Downtime leads to suffering. - NT is the path to the darkside. - Powerful Unix is.
5 REPLIES 5
Albert Smith_1
Regular Advisor

Re: OmniBack v3.10

The best thing I could ever do was have it e-mail me a report that the backup completed succesfully. But if you are really good a scripting I am sure that you can script something through the command line version of the Media Manager.

Al Smith
Sr. HP-UX Adminstrator
Quest Diagnostics
Steve Post
Trusted Contributor
Solution

Re: OmniBack v3.10

try this as a script.

#!/bin/ksh
opt/omni/bin/omnirpt -report list_sessions -timeframe 24 24 -ascii
| cut -c1-57,110-

Check out man page on omnirpt. Or type omnirpt help. The cut command just cleans out stuff I don't want to see. I pipe this command elm, so I get mail each morning.

While we are at it... here's the contents of the DLT7000 library.(if you use one)
omnimm -repository DLT_7000

contents of a tape?
omnimm -list_media

^_^ Steve
Steve Post
Trusted Contributor

Re: OmniBack v3.10

try this as a script.

#!/bin/ksh
opt/omni/bin/omnirpt -report list_sessions -timeframe 24 24 -ascii
| cut -c1-57,110-

Check out man page on omnirpt. Or type omnirpt help. The cut command just cleans out stuff I don't want to see. I pipe this command elm, so I get mail each morning.

While we are at it... here's the contents of the DLT7000 library.(if you use one)
omnimm -repository DLT_7000

contents of a tape?
omnimm -list_media

^_^ Steve
Andreas Voss
Honored Contributor

Re: OmniBack v3.10

Hi,

put you a script at attachment that will do similar.

Regards
Andreas Voss
Honored Contributor

Re: OmniBack v3.10

Ooops

in my script at awk it has to be NR==3 not NR==4

apologies