Red Hat 8.1 Configuration And Command Reference page 220

Directory server; configuring and managing with command-line utilities
Hide thumbs Also See for 8.1:
Table of Contents

Advertisement

220
Chapter 7. Command-Line Scripts
Syntax
bak2db.pl [ -v ] -D rootdn { -w password | -w - | -j filename } -a backupDirectory [ -t
databaseType ] [ -n backend ]
Options
T he script bak2db.pl creates an entry in the directory that launches this dynamic task. T he entry is
generated based upon the values provided for each option.
T able 7.18. bak2db.pl Options
Option
-a backupDirectory
-D rootdn
-j filename
-n backendInstance
-t databaseType
-v
-w password
-w -
7.4 .2. cl-dump.pl (Dumps and Decodes the Changelog)
T roubleshoots replication-related problems.
NOTE
cl-dum p.pl is in the /usr/bin directory.
Syntax
cl-dum p.pl [ -h host ] [ -p port ] [ -D bindDn ] [ -w bindPassword | -P bindCert ] [ -r replicaRoots
] [ -o outputFile ] [ -c ] [ -v ]
cl-dum p.pl -i changelogFile [ -o outputFile ] [ -c ] [ -v ]
Options
Without the -i option, the script must be run when the Directory Server is running from a location from
which the server's changelog directory is accessible.
Description
T he directory of the backup files.
Gives the user DN with root permissions, such
as Directory Manager. T he default is the DN of
the Directory Manager, which is read from the
nsslapd-root attribute under cn=config.
T he name of the file containing the password.
Specifies the backend name, such as userRoot,
which is being restored. T his 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.
T he database type. T he only possible database
type is ldbm .
Verbose mode.
T he password associated with the user DN.
Prompts for the password associated with the
user DN.

Advertisement

Table of Contents
loading

Table of Contents