carta
bak2db(8)

bak2db8

Directory server script for restoring a backup

Usage

bak2db archivedir [-Z serverID] [-q] [-v] [-h]

Overview

Restores the database from a archived backup. The Directory Server must be stopped prior to running this script.

Options

A 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.

-q

Quiet mode. Reduces output of task.

-v

Display version

-h

Display the usage.

Examples

bak2db /LDAP/backups/20130305/ -Z instance1 -n userRoot

bak2db /LDAP/backups/20130305/ -n example

Diagnostics

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.

History

  • Debian 10 (Buster): the text shown here
  • Debian 9 (Stretch)
  • Debian 8 (Jessie)

-v since Debian 10 (Buster).

Author

bak2db was written by the 389 Project.

Reporting bugs

Report bugs to https://pagure.io/389-ds-base/new_issue

From 389-ds-base-legacy-tools 1.4.0.21-1 in Debian 10 (Buster). Parsed by carta from the page's man source.