•
ns-inactivate.pl (Inactivate an entry or group of entries)
•
template-cl-dump.pl (Dump and decode changelog)
•
template-repl-monitor.pl (Monitor replication status)
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
db2bak.pl (Create backup of database)
Creates a backup of the database.
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
Currently, the only possible database
Chapter 8
Command-Line Scripts
Perl Scripts
255
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 and is the answer not in the manual?