Operating System - HP-UX
1831131 Members
2669 Online
110020 Solutions
New Discussion

scan exchanger in OmniBack II

 
SOLVED
Go to solution
Mark Cook
Advisor

scan exchanger in OmniBack II

There is an option in OmniBackII 3.5 that allows you to update the OmniBackII database if any manual intervention has taken place. This is to keep everyting in sync. I know how to do this using the gui, however, I want to cron this process so I can ensure that our database is always in sync. My question is, does anyone know the command line syntax for this option. I'm thinking it is the omnimm command, but the man page is a "little" vague. Thanks so much for everyone's help!!! Mark
"The prerequisite for action is the will and courage to be TRUTHFUL!"
4 REPLIES 4
Gadura Praveen
Frequent Advisor

Re: scan exchanger in OmniBack II

Mark,

The script I use for this is has the following :-

1) Get the Library Name from Omniback

# LIB_NAME=`omnidownload -list_libraries -detail|awk -F '"' '/NAME/ {print $2}'`

2) perform the barcode scan on the library b.

# omnimm -repository_barcode_scan "${LIB_NAME}"
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: scan exchanger in OmniBack II

The above post works if you have barcodes enabled but if not simply omnimm -repository_update $DRIVE_NAME
where $DRIVE_NAME is a drive within a given library. It will load each medium in the library and update the database.
If it ain't broke, I can fix that.
Mark Cook
Advisor

Re: scan exchanger in OmniBack II

First off, thanks for the reply. However, I did actually find the correct command. The problem with the bar code scan is that it does not update the database. The command I was looking for is:
# omnimm -repository_update

This actually updats the OmniBack database to keep everything in sync.
"The prerequisite for action is the will and courage to be TRUTHFUL!"
Mark Cook
Advisor

Re: scan exchanger in OmniBack II

Clay,
Thanks! That is exactly what I was looking for and found after I posted my question. We do have bar codes enabled, but as you indicated this still does not update the database. Thanks again!!!!!
"The prerequisite for action is the will and courage to be TRUTHFUL!"