Perl Scripts; Bak2Db.pl (Restore Database From Backup); Syntax - Red Hat DIRECTORY SERVER 7.1 Configuration

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

Advertisement

Perl Scripts

Perl Scripts
This section covers the following scripts:

bak2db.pl (Restore database from backup)

db2bak.pl (Create backup of database)
db2index.pl (Create and generate indexes)
db2ldif.pl (Export database contents to LDIF)
ldif2db.pl (Import)
logconv.pl (Log converter)
migrateInstance7 (Migrate to Directory Server 7.x)
ns-accountstatus.pl (Establish account status)
ns-activate.pl (Activate an entry or group of entries)
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
bak2db.pl (Restore database from backup)
Restores a database from a backup.

Syntax

Perl script:
272
Red Hat Directory Server Configuration, Command, and File Reference • May 2005
The Perl scripts that are bundled with Directory Server require the
use of
, which is included in the
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 [-v] -D rootdn -w password [-a
backupDirectory] [-t databaseType] -n [backend]
directory. Be sure to change to this

Advertisement

Table of Contents
loading

Table of Contents