Bak2Db.pl (Restore Database From Backup); Syntax; Options - Netscape DIRECTORY SERVER 7.0 Configuration Manual

Configuration, command, and file reference
Hide thumbs Also See for NETSCAPE DIRECTORY SERVER 7.0:
Table of Contents

Advertisement

NOTE
The Perl scripts that are bundled with Directory Server require the
use of
nsPerl
serverRoot/bin/slapd/admin/bin
directory before you run any of the Perl scripts:
cd serverRoot/bin/slapd/admin/bin
./perl PerlScriptName Arguments

bak2db.pl (Restore database from backup)

Restores a database from a backup.

Syntax

Perl script (UNIX and
Windows):

Options

The script
bak2db.pl
task. The entry is generated based upon the values you provide for each option.
Option
Parameter
rootdn
-D
password
-w
backupDirectory
-a
-v
databaseType
-t
, which is included in the
bak2db.pl [-v] -D rootdn -w password [-a
backupDirectory] [-t databaseType]
creates an entry in the directory that launches this dynamic
Description
The user DN with root permissions, such as Directory
Manager. The default is the DN of the Directory Manager,
which is read from the nsslapd-root attribute under
cn=config.
The password associated with the user DN.
The directory of the backup files.
Verbose mode.
The database type.
type is
.
ldbm
directory. Be sure to change to this
Currently, the only possible database
Chapter 8
Command-Line Scripts
Perl Scripts
265

Advertisement

Table of Contents
loading

Table of Contents