Restoring Your Database From The Command Line - Netscape DIRECTORY SERVER 6.02 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Backing Up and Restoring Data
where serverID is the name of your Directory Server and backup_name is the
name of the backup file.
Click OK to restore your databases.
4.

Restoring Your Database From the Command Line

You can restore your databases from the command line by using the following
scripts:
Using the
shut down.
Using the
Using the bak2db Command-Line Script
To restore your directory from the command line while the server is shut down:
At the command prompt, change to the following directory:
1.
/usr/netscape/servers/slapd-
where serverID is the name of your Directory Server.
If the server is running, type the following to stop it:
2.
./stop-slapd
Run the
3.
For more information about using this script, refer to Netscape Directory Server
Configuration, Command, and File Reference.
Two examples of performing an import using
Windows batch file:
bak2db.bat
\usr\netscape\servers\slapd-dirserver\bak\bak_20010701103056
UNIX shell script:
bak2db /usr/netscape/servers/slapd-dirserver/bak/bak_20010701103056
The
bak2db
154
Netscape Directory Server Administrator's Guide • May 2002
command-line script. This script requires the server to be
bak2db
perl script. This script works while the server is running.
bak2db.pl
command-line script.
bak2db
script requires that you define the full path and name of the input file.
serverID
follow:
bak2db

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - ADMINISTRATOR and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Directory server 6.02

Table of Contents