OpenSolaris 2008.11 Media Management System Administration Guide

Table of Contents

Restoring the MM Database

If it is necessary to use the backup file for the MM database, use the following procedure:

  1. Stop all MMS processes:
      svcadm disable svc:/application/management/mms:wcr 
      svcadm disable svc:/application/management/mms:mm
      svcadm disable svc:/application/management/mms:db
      
  2. Display the name of the database directory:
    svcprop -c -p postgresql/data mms:db
  3. List the contents of the database directory:

    ls database_directory

  4. Remove the MM database:

    rm -r database_directory

  5. Initialize MM server, starting all the processes and configuring a new, empty database:
    mmsinit -t mm 
  6. Restore the MMS database backup, using the full path to the file:

    mmsadm dbrestore /path/filename