Db2Bak.pl (Create Backup Of Database); Options; 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

Options

The script
bak2db.pl
task. The entry is generated based upon the values you provide for each option.
Optio
Parameter
n
rootdn
-D
password
-w
backupDirectory
-a
-v
databaseType
-t
backendInstance
-n

db2bak.pl (Create backup of database)

Creates a backup of the database.

Syntax

Perl script:
Options
The script
db2bak.pl
task. The entry is generated based upon the values you provide for each option.
Currently, the only possible database type is
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
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.
db2bak.pl [-v] -D rootdn -w password [-a dirName]
creates an entry in the directory that launches this dynamic
Currently, the only possible database
.
ldbm
Chapter 8
Command-Line Scripts
Perl Scripts
273

Advertisement

Table of Contents
loading

Table of Contents