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

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

Advertisement

ns-inactivate.pl (Inactivate an entry or group of entries)
ns-newpwpolicy.pl (Add attributes for fine-grained password policy)
template-cl-dump.pl (Dump and decode changelog)
template-repl-monitor.pl (Monitor replication status)
NOTE
The Perl scripts that are bundled with Directory Server require
the use of
serverRoot/bin/slapd/admin/bin
this 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
, which is included in the
nsPerl
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.
directory. Be sure to change to
Chapter 8
Command-Line Scripts
Perl Scripts
263

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents