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

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 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 script has a Perl equivalent, there is a cross-reference to the section
describing the equivalent Perl script.

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:

Options

Optio
Parameter
n
backendInstance
-n
bak2db [backupDirectory] -n [backend]
Description
Optional. Specifies the backend name, such as userRoot,
which is being restored. This option is only used for
filesystem replica initialization or to restore a single
database; it is not necessary to use the n option to restore the
entire directory.
Chapter 8
Command-Line Scripts
Shell Scripts
259

Advertisement

Table of Contents
loading

Table of Contents