Bak2Db (Restore Database From Backup); Syntax - 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

getpwenc (Print encrypted password)
ldif2db (Import)
ldif2ldap (Perform import operation over LDAP)
monitor (Retrieve monitoring information)
restart-slapd (Restart the Directory Server)
restoreconfig (Restore Administration Server Configuration)
saveconfig (Save Administration Server Configuration)
start-slapd (Start the Directory Server)
stop-slapd (Stop the Directory Server)
suffix2instance (Map suffix to backend name)
vlvindex (Create virtual list view indexes)
Some of the shell and batch scripts can be executed while the server is running. For
others, the server must be stopped. The description of each script below indicates
whether the server must be stopped or if it can continue to run while you execute
the script.
When a shell or batch script has a Perl equivalent, there is a cross-reference to the
section describing the equivalent Perl script.
NOTE
When using the batch scripts on Windows, the
function correctly because of a bug in the Windows command-line
interpreter. The command-line interpreter removes the double
quotes and treats values as separate in some cases.

bak2db (Restore database from backup)

Restores the database from the most recent archived backup. To run this script, the
server must be stopped.

Syntax

Shell script (UNIX):
Batch file (Windows):
bak2db [backupDirectory]
bak2db [backupDirectory]
Shell and Batch Scripts
option may not
-s
Chapter 8
Command-Line Scripts
251

Advertisement

Table of Contents
loading

Table of Contents