Bak2Db (Restores A Database From Backup) - Red Hat DIRECTORY SERVER 8.1 Command Reference Manual

Hide thumbs Also See for DIRECTORY SERVER 8.1:
Table of Contents

Advertisement

Chapter 7. Command-Line Scripts
Section 7.3.8, "ldif2db (Import)"
Section 7.3.9, "ldif2ldap (Performs Import Operation over LDAP)"
Section 7.3.10, "monitor (Retrieves Monitoring Information)"
Section 7.3.12, "pwdhash (Prints Encrypted Passwords)"
Section 7.3.11, "repl-monitor (Monitors Replication Status)"
Section 7.3.13, "restart-slapd (Restarts the Directory Server)"
Section 7.3.14, "restoreconfig (Restores Administration Server Configuration)"
Section 7.3.15, "saveconfig (Saves Administration Server Configuration)"
Section 7.3.16, "start-slapd (Starts the Directory Server)"
Section 7.3.17, "stop-slapd (Stops the Directory Server)"
Section 7.3.18, "suffix2instance (Maps a Suffix to a Backend Name)"
Section 7.3.19, "vlvindex (Creates 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 executing the script.
When a shell script has a Perl equivalent, there is a cross-reference to the section describing the
equivalent Perl script.

7.3.1. bak2db (Restores a Database from Backup)

Restores the database from the most recent archived backup. To run this script, the server must be
stopped.
Syntax
bak2db [ backupDirectory ] [ -n backend ]
Options
Option
backupDirectory
-n backendInstance
Table 7.4. bak2db Options
278
Description
Gives the backup directory path.
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.

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

Table of Contents