Backing up All Databases
105
WARNING
Do not stop the server during a backup or restore operation.
4.3.1. Backing up All Databases
The following procedures describe backing up all of the databases in the directory using the Directory
Server Console and from the command-line.
NOTE
These backup methods cannot be used to back up the data contained by databases on a
remote server that are chained using database links.
4.3.1.1. Backing up All Databases from the Server Console
When backing up databases from the Directory Server Console, the server copies all of the database
contents and associated index files to a backup location. A backup can be performed while the server
is running.
To back up databases from the Directory Server Console, do the following:
1. Select the
Tasks
tab.
2. Click
Back Up Directory Server
.
The
Backup Directory
dialog box opens.
3. Enter the full path of the directory to store the backup file in the
Directory
text box, or click
Use
default
, and the server provides a name for the backup directory.
If the Console is running on the same machine as the directory, click
Browse
to select a local
directory.
With the default location, the backup files are placed in
/var/lib/dirsrv/
slapd-
instance_name
/bak
.
1
By default, the backup directory name contains the name
of the server instance and the time and date the backup was created (
instance_name-
YYYY_MM_DD_hhmmss
).
4. Click
OK
to create the backup.
4.3.1.2. Backing up All Databases from the Command Line
Databases can be backed up from the command-line using the
db2bak
command-line script. This
script works when the server is running or when the server is stopped.
Configuration information
cannot
be backed up using this backup method. For information on backing
up the configuration information, see
Section 4.3.2, “Backing up the dse.ldif Configuration File”
.
To back up the directory from the command-line using the
db2bak
script, do the following:
Содержание DIRECTORY SERVER 8.0
Страница 18: ...xviii ...
Страница 29: ...Configuring the Directory Manager 11 6 Enter the new password and confirm it 7 Click Save ...
Страница 30: ...12 ...
Страница 112: ...94 ...
Страница 128: ...110 ...
Страница 190: ...Chapter 6 Managing Access Control 172 4 Click New to open the Access Control Editor ...
Страница 224: ...206 ...
Страница 324: ...306 ...
Страница 334: ...316 ...
Страница 358: ...340 ...
Страница 410: ...392 ...
Страница 420: ...402 ...
Страница 444: ...426 ...
Страница 454: ...436 ...
Страница 464: ...446 ...
Страница 484: ...466 ...
Страница 512: ...494 ...
Страница 522: ...504 ...