•
•
•“suffix2instance (Maps a suffix to a backend name)”
•“vlvindex (Creates virtual list view indexes)”
Some of the shell scripts can be executed while the server is running. For others, the server must be stopped. The description of each script below indicates whether the server must be stopped or if it can continue to run while executing the script.
When a shell script has a Perl equivalent, there is a
Restores the database from the most recent archived backup. To run this script, the server must be stopped.
Syntax
bak2db [ backupDirectory ] [
Table
Option | Description |
backupDirectory | Gives the backup directory path. |
|
|
Optional. Specifies the backend name, such as userRoot, which is being restored. This | |
backendInstance | option is only used for filesystem replica initialization or to restore a single database; it is |
| not necessary to use the |
|
|
For information on the equivalent Perl script, see “bak2db.pl (Restores a database from backup)”. For more information on restoring databases, see the "Populating directory databases" chapter in the
Troubleshoots
Syntax
Options Without the
Table
Option | Description |
Dumps and interprets CSN only. This option can be used with or without the | |
|
|
Specifies the Directory Server's bind DN. Defaults to cn=Directory Manager if the option | |
| is omitted. |
|
|
Specifies the Directory Server's host. This defaults to the server where the script is running. | |
|
|
Specifies the path to the changelog file. If there is a changelog file and if certain changes in | |
| that file are |
|
|
7.3 Shell scripts 217