Netscape DIRECTORY SERVER 6.01 - ADMINISTRATOR Administrator's Manual page 153

Table of Contents

Advertisement

Using bak2db.pl Perl Script
To restore your directory from the command line while the server is running:
At the command prompt, change to the following directory:
1.
/usr/netscape/servers/slapd-
where serverID is the name of your directory server.
Run the
2.
bak2db.pl
For more information on using this perl script, refer to Netscape Directory
Server Configuration, Command, and File Reference.
Two examples of performing an import using
Windows NT batch file:
..\bin\slapd\admin\bin\perl bak2db.pl -D "cn=Directory Manager"
-w secret
-a \usr\netscape\servers\slapd-dirserver\bak\mybak_20010701103056
CAUTION
You need to run perl scripts from the following directory on
Windows NT:
in the example.
UNIX shell script:
bak2db.pl -D "cn=Directory Manager" -w secret
-a /usr/netscape/servers/slapd-dirserver/bak/mybak_20010701103056
The following table describes the
Option Name
-a
-D
-w
serverID
perl script.
..\bin\slapd\admin\bin\perl
bak2db.pl
Description
Defines the full path and name of the input file.
Specifies the DN of the administrative user.
Specifies the password of the administrative user.
Backing Up and Restoring Data
follow:
bak2db.pl
. This path appears
options used in the examples:
Chapter 4
Populating Directory Databases
153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents