Red Hat 8.1 사용자 설명서
Chapter 2. Core Server Configuration Reference
116
A restore task entry under cn=restore must contain the location of the directory from which to
retrieve the archive copy (in the
retrieve the archive copy (in the
attribute) and the type of database being restored (in the
attribute). Additionally, it must contain a unique cn to identify the task. For example:
dn: cn=example restore, cn=restore, cn=tasks, cn=config
objectclass: extensibleObject
cn: example restore
nsArchiveDir: /export/backups/
nsDatabaseType: ldbm database
objectclass: extensibleObject
cn: example restore
nsArchiveDir: /export/backups/
nsDatabaseType: ldbm database
As the restore operation runs, the task entry will contain all of the server-generated task attributes
listed in
listed in
nsArchiveDir
This attribute gives the location of the directory to which to write the backup.
Parameter
Description
Entry DN
cn=task_name, cn=restore, cn=tasks, cn=config
Valid Values
Any local directory location
Default Value
Syntax
Syntax
Case-exact string
Example
nsArchiveDir: /export/backups
nsDatabaseTypes
This attribute gives the kind of database being archived. Setting the database types signals what kind
of backup plug-in the Directory Server should use to archive the database.
of backup plug-in the Directory Server should use to archive the database.
Parameter
Description
Entry DN
cn=task_name, cn=restore, cn=tasks, cn=config
Valid Values
ldbm database
Default Value
ldbm database
Syntax
Case-exact string
Example
nsDatabaseType: ldbm database
2.3.15.6. cn=index
Directory attributes can be indexed though the command line by creating a special task entry which
defines the parameters of the task and initiates the task. As soon as the task is complete, the task
entry is removed from the directory.
defines the parameters of the task and initiates the task. As soon as the task is complete, the task
entry is removed from the directory.
The cn=index entry is a container entry for index task operations. The cn=index entry itself has no
attributes, but each of the task entries within this entry, such as cn=task_ID, cn=index, cn=tasks,
cn=config
attributes, but each of the task entries within this entry, such as cn=task_ID, cn=index, cn=tasks,
cn=config
, uses the following attributes to define the backup task.