Synta x
bak2db.pl [ -v ] -D rootdn { -w password | -w - | -j filename } -a backupDirectory [ -t
databaseType ] [ -n backend ]
Options
The 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.
Table 7.1 8. bak2db.pl Options
Option Description
-a backupDirectory The directory of the backup files.
-D rootdn Gives 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.
-j filename T he name of the file containing the password.
-n backendInstance 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.
-t databaseType The database type. The only possible database
type is ldbm .
-v Verbose mode.
-w password T he password associated with the user DN.
-w - Prompts for the password associated with the
user DN.
7.4 .2 . cl-dump.pl (Dumps and Decodes the Changelog)
Troubleshoots replication-related problems.
NOTE
cl-dum p.pl is in the /usr/bin directory.
Synta x
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.
Comentários a estes Manuais