HP-UX Directory Server 8.1 configuration, command, and file reference
If this attribute is not included with the cn=backup task, the task will fail with an LDAP object
class violation error (65).
DescriptionParameter
cn=task_name, cn=backup, cn=tasks, cn=config
Entry DN
Any local directory locationValid Values
Default Value
Case-exact stringSyntax
nsArchiveDir: /export/backupsExample
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.
DescriptionParameter
cn=task_name, cn=backup, cn=tasks, cn=config
Entry DN
ldbm databaseValid Values
ldbm databaseDefault Value
Case-exact stringSyntax
nsDatabaseType: ldbm databaseExample
2.3.14.5 cn=restore,cn=tasks,cn=config
A database can be restored through 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 it removed from the directory.
The cn=restore entry is a container entry for task operations to restore a database. The
cn=restore entry itself has no attributes, but each of the task entries within this entry, such as
cn=task_ID, cn=restore, cn=tasks, cn=config, uses the following attributes to define the
restore task.
A restore task entry under cn=restore must contain the location of the directory from which
to retrieve the archive copy (in the “nsArchiveDir” attribute) and the type of database being
restored (in the “nsDatabaseTypes” 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: nsDirectoryServerTask
cn: example restore
nsArchiveDir: /home/exports/
nsDatabaseType: ldbm database
As the restore operation runs, the task entry will contain all the server-generated task attributes
listed in “Task invocation attributes for entries under cn=tasks”.
nsArchiveDir This attribute gives the location of the directory to which to write the backup.
DescriptionParameter
cn=task_name, cn=restore, cn=tasks, cn=config
Entry DN
Any local directory locationValid Values
Default Value
2.3 Core server configuration attributes reference 107