bak2db man page on Oracle
bak2db - Directory Server script for restoring a backup
bak2db archivedir [-Z serverID] [-n backendname] [-q] | [-h]
Restores the database from a archived backup. The Directory Server
must be stopped prior to running this script.
A summary of options is included below:
The directory of the archived database.
-Z Server Identifier
The server ID of the Directory Server instance. If there is
only one instance on the system, this option can be skipped.
-n Backend Name
The name of the LDBM database to restore. Example: userRoot
Quiet mode. Reduces output of task.
Display the usage.
bak2db /LDAP/backups/20130305/ -Z instance1 -n userRoot
bak2db /LDAP/backups/20130305/ -n example
Exit status is zero if no errors occur. Errors result in a non-zero
exit status and a diagnostic message being written to standard error.
bak2db was written by the 389 Project.
Report bugs to http://bugzilla.redhat.com.
Copyright © 2013 Red Hat, Inc.
Mar 5, 2013 BAK2DB(8)
List of man pages available for Oracle
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome