To clean and to recreate the Data Protector DB, follow these steps.

Stop the services

omnisv -stop

Create a copy of the DB40 directory in another site in your harddrive (usually %APPDATA%\HP).

Start the services

omnisv -start

Run the following commands:

omnidb -strip
omnidbutil –purge –filenames –days 1  -force
omnidbutil –purge –sessions 1  -force
omnidbutil –purge –messages 1  -force
omnidbutil –purge –DCBF –days 1  -force
omnidbutil -purge_failed_copies

if you want to do more steps in order to keep the IDB in better  conditions:

Create the folder c:\IDBtemp in windows

Run the following commands:

omnidbutil –writedb –mmdb c:\IDBtemp -cdb c:\IDBtemp
omnidbutil –readdb –mmdb c:\IDBtemp -cdb c:\IDBtemp

omnidbutil -remap_dcdir
omnidbutil -fixmpos
omnidbutil -remap_dcdir