[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Restoring the Sun ONE Database

You can manually restore the database for any directory you have installed. For information about migrating a directory database to another host, see SRC-PE Getting Started Guide, Chapter 35, Upgrading the SRC Software on a Solaris Platform.

To restore the Sun ONE database:

  1. Log in as root.
  2. Access the database folder.
  3. cd /opt/UMC/iDS/slapd-sdx
    
    
    
  4. Verify that the Sun ONE Directory Server is shut down. If it is not, shut it down.
  5. ./stop-slapd
    
    
    
  6. Make sure you know the exact backup directory.
  7. Run the bak2db script by typing:
  8. ./bak2db /opt/UMC/iDS/slapd-sdx/bak/YYYY_MM_DD_HHMMSS
    
    
    

where YYYY_MM_DD_HHMMSS identify the date and time when the database backup was created.

  1. Start the Sun ONE server.
  2. ./start-slapd 
    
    
    

We recommend that you restart SRC components after restoring directory data from a backup, to ensure that the restored database is used.


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]