Chapter 7. Command-Line Scripts
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.
Option
-c
-D bindDn
-h host
-i changelogFile
-o outputFile
-p port
-P bindCert
-r replicaRoots
-v
-w bindPassword
Table 7.19. cl-dump.pl command options
7.4.3. db2bak.pl (Creates a Backup of a Database)
Creates a backup of the database.
Syntax
db2bak.pl [ -v ] -D rootdn { -w password | -w - | -j filename } [ -a dirName ] [ -t db_type ]
Options
The script db2bak.pl creates an entry in the directory that launches this dynamic task. The entry is
generated based upon the values provided for each option. Currently, the only possible database type
is ldbm.
294
Description
Dumps and interprets change sequence
numbers (CSN) only. This option can be used
with or without the -i option.
Specifies the Directory Server's bind DN.
Defaults to cn=Directory Manager if the
option is omitted.
Specifies the Directory Server's host. Defaults to
the server where the script is running.
Specifies the path to the changelog file. If there is
a changelog file and if certain changes in that file
are base-64 encoded, use this option to decode
that changelog.
Specifies the path, including the filename, for the
final result. Defaults to STDOUT if omitted.
Specifies the Directory Server's port. The default
value is 389.
Specifies the path, including the filename, to the
certificate database that contains the certificate
used for binding.
Specifies the replica-roots whose changelog
to dump. When specifying multiple roots, use
commas to separate roots. If the option is
omitted, all the replica roots will be dumped.
Prints the version of the script.
Specifies the password for the bind DN.
Need help?
Do you have a question about the DIRECTORY SERVER 8.1 and is the answer not in the manual?
Questions and answers