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 SDX Getting Started Guide, Chapter 12, Upgrading the SDX-300 Software.
To restore the Sun ONE database:
- Log in as
root.- Access the database folder.
cd /opt/UMC/iDS/slapd-sdx- Verify that the Sun ONE Directory Server is shut down. If it is not, shut it down.
./stop-slapd- Make sure you know the exact backup directory.
- Run the bak2db script by typing:
./bak2db /opt/UMC/iDS/slapd-sdx/bak/YYYY_MM_DD_HHMMSSwhere YYYY_MM_DD_HHMMSS identify the date and time when the database backup was created.