BAK2DB(8) - man page online | administration and privileged commands
Directory Server script for restoring a backup.
Mar 5, 2013
BAK2DB(8) System Manager's Manual BAK2DB(8)
NAMEbak2db - Directory Server script for restoring a backup
SYNOPSISbak2db archivedir [-Z serverID] [-n backendname] [-q] | [-h]
DESCRIPTIONRestores the database from a archived backup. The Directory Server must be stopped prior to running this script.
OPTIONSA summary of options is included below: archivedir 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 -q Quiet mode. Reduces output of task. -h Display the usage.
EXAMPLEbak2db /LDAP/backups/20130305/ -Z instance1 -n userRoot bak2db /LDAP/backups/20130305/ -n example
DIAGNOSTICSExit status is zero if no errors occur. Errors result in a non-zero exit status and a diagnostic message being written to standard error.
AUTHORbak2db was written by the 389 Project.
REPORTING BUGSReport bugs to https://fedorahosted.org/389/newticket.
Mar 5, 2013 BAK2DB(8)
COPYRIGHTCopyright © 2013 Red Hat, Inc.