![]() ![]()
|
Backup & Restore
Backing up and restoring the Directory Server database can be done through either the Server Administration window in Netscape Console, or through two command line utilities:
If you want to use the command line utilities, at the command prompt change to
Backup
nshome/slapd-serverID/bak/YYYY_MM_DD_HHMMSS Let's walk through an online backup of your directory from the command line (try it out now on your own server): 1. At the command prompt, change to <NSHOME>/slapd-<serverID>. 2. Run the db2bak command line script as follows: db2bak Restore
Let's walk through a restore of your directory using the Directory Server
Console (try it out now on your own server):
b. Click "Stop the Directory Server". c. Wait for the message box stating that the server has shut down. 2. Restore the database.
b. Select the backup you just made from the dialog box. c. Click OK. 3. Restart the the Directory Server.
b. Wait for the message box stating that the server has started up. |
Copyright © 2000
Sun-Netscape Alliance