1BAK2DB(8) System Manager's Manual BAK2DB(8)
2
3
4
6 bak2db - Directory Server script for restoring a backup
7
9 bak2db archivedir [-Z serverID] [-n backendname] [-q] [-v] [-h]
10
12 Restores the database from a archived backup. The Directory Server
13 must be stopped prior to running this script.
14
16 A summary of options is included below:
17
18 archivedir
19 The directory of the archived database.
20
21 -Z Server Identifier
22 The server ID of the Directory Server instance. If there is
23 only one instance on the system, this option can be skipped.
24
25 -n Backend Name
26 The name of the LDBM database to restore. Example: userRoot
27
28 -q
29 Quiet mode. Reduces output of task.
30
31 -v Display version
32
33 -h
34 Display the usage.
35
37 bak2db /LDAP/backups/20130305/ -Z instance1 -n userRoot
38
39 bak2db /LDAP/backups/20130305/ -n example
40
41
43 Exit status is zero if no errors occur. Errors result in a non-zero
44 exit status and a diagnostic message being written to standard error.
45
47 bak2db was written by the 389 Project.
48
50 Report bugs to https://pagure.io/389-ds-base/new_issue
51
53 Copyright © 2017 Red Hat, Inc.
54
55
56
57 March 31, 2017 BAK2DB(8)