Stop all media access and take the K2 system offline.
Navigate to the V:\media directory.
Make a copy of the media.db and media.db_bak* files and store them
in a secure location.
Stop the Grass Valley MetaDataService as follows:
For the standalone K2 system, use the Services control panel to
stop the service.
Determine which backup file is the most recent good file by
examining the file modification date on each backup file.
Rename the current
media.db file (which is assumed to be corrupt) to another
name, and rename the most recent good
media.db_bakX file to
media.db.
Restart the K2 system following normal procedures.
Confirm that the systems come up correctly with the restored
database now in place.
Use Storage Utility
Clean Unreferenced Files and
Clean Unreferenced Movies to repair any
inconsistencies between the contents of the database and the file system.