1DB2BAK(8) System Manager's Manual DB2BAK(8)
2
3
4
6 db2bak - Directory Server script for making a backup of the database
7
9 db2bak [archivedir] [-Z serverID] [-q] [-v] [-h]
10
12 Creates a backup of the database. This script can be executed while
13 the server is running or stopped.
14
16 A summary of options is included below:
17
18 archivedir
19 The full path to the directory to store the backup.
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 -v Display version
26
27 -q
28 Quiet mode. Reduces output of task.
29
30 -h
31 Display the usage.
32
34 db2bak -Z instance2
35
36 Makes a backup of the entire database for 'instance2', and
37 stores it in the default server instance backup directory.
38
39 db2bak /LDAP/backups/20130305
40
41 Creates a backup of the database and stores it in specified
42 location.
43
45 Exit status is zero if no errors occur. Errors result in a non-zero
46 exit status and a diagnostic message being written to standard error.
47
49 db2bak was written by the 389 Project.
50
52 Report bugs to https://pagure.io/389-ds-base/new_issue
53
55 Copyright © 2017 Red Hat, Inc.
56
57
58
59 March 31, 2017 DB2BAK(8)