Date: 02/25/2008
Effected NV Version: 8.x
OS Version: All
Plugin version: NVDB
Application version: N/A
Description: After upgrading to Netvault 8.x errors messages start showing up in the log during NVDB backup that there are corrupted indexes.
NOTE: The upgrade to 8.x did not cause the problem. It is much more likely the problem was always there. It just that with 8.x it does a database check before doing the actual backup. Earlier versions did not do this, so that is why you never saw the error before.
First thing is if on 8.0 then you need to upgrade to 8.1 or latest version on Netvault
With 8.1 you now have two utilities in the %NV_HOME%/utils directory nvmeddbcheck and nvscheddbcheck.
Instructions on the proper way to use these utilities can be found in the CLI user guide
http://www.bakbone.com/docs/NetVault_Backup_Command_Line_Interface_Guide_v8_English.pdf
In most cases this in itself will resolve the issue.
NOTE: If still seeing these warning or errors during NVDB backup after following this procedure to this point and you are not experiencing any other problems with the database then it is a very high likelihood that the errors or warnings you are receiving are benign.
If you wish to pursue it further to eliminate the warnings or errors from your Netvault Database backup logs then you must follow this procedure to change your NVDB templates from 7.x to 8.x
1.Make note of which tape in which slot has the NVDB backup on it
2.Stop the Netvault Service
3.Browse to the ../Netvault/db directory
4.Rename MediaDatabase and ScheduleDatabase directories
5.Restart Netvault (this will recreate a new NVDB)
6.Open up NVGUI and Go to Device Manager
7.Auto Scan may or may not detect library
8.If it does fine, after it is added right click and select 'modify' and go to step 10
9.If it does not, Select Add/Add Library and add library back in
10.If you do either step 8 or 9 you should also see a Configure Tap, Select it
11.From here Right Click on Library Arm and select 'Cofigure'
12.Mark Box 'Mark Unknown Media Blank' (** See note below)
13.Click on Save Icon in upper left corner.
14.Once the Initialization is completed scan in the tape with NVDB session on it
15.Restore NVDB from Tape
16.Run 'nvmeddbcheck compact' from command line (use 'force' if you have to)
17.Run 'nvscheddbcheck compact' from command line
The database will now be repaired. After this is done you should go back and deselect option 'Mark Unknown Media Blank' from step 12.
** - This step is only in case you have a very large library with a lot of tapes in them and you do not want to wait for the time consuming task of it reading every header of every tape in the library since the tapes are no longer known to the new Media Database. This will cause Netvault to consider any tape it does not know as blank so the Library will not have to load it to read the header. Another option might be to remove all tapes from Library except the one with the NVDB session on it.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center