Red Hat 8.1 User Manual Page 125

  • Download
  • Add to my manuals
  • Print
  • Page
    / 374
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 124
cn=tasks
111
nsUniqueIdGeneratorNamespace
This attributes defines how to generate name-based IDs; the attribute sets the namespace to use to
generate the IDs. This option is useful to import the same LDIF file into two Directory Server instances
when the entries need to have the same IDs.
Parameter Description
Entry DN cn=task_name, cn=import, cn=tasks, cn=config
Valid Values Any string
Default Value
Syntax Case-insensitive string
Example nsUniqueIdGeneratorNamespace: example
2.3.15.3. cn=export
A database or multiple databases can be exported 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 is removed from the directory.
The cn=export entry is a container entry for export task operations. The cn=export entry itself
has no attributes, but each of the task entries within this entry, such as cn=task_ID, cn=export,
cn=tasks, cn=config, uses the following attributes to define the export task.
An export task entry under cn=export must contain the name of the database to export (in the
nsInstance attribute) and the name of the LDIF file to write the output to (in the nsFilename attribute).
Additionally, it must contain a unique cn to identify the task. For example:
dn: cn=example export, cn=export, cn=tasks, cn=config
objectclass: extensibleObject
cn: example export
nsInstance: userRoot
nsFilename: /home/files/example.ldif
As the export operation runs, the task entry will contain all of the server-generated task attributes listed
in Section 2.3.15.1, “Task Invocation Attributes for Entries under cn=tasks”.
There are some optional attributes which can be used to refine the export operation, similar to the
options for the db2ldif and db2ldif.pl scripts:
nsIncludeSuffix, analogous to the -s option, to specify the suffixes to include in the exported LDIF
files
nsExcludeSuffix, analogous to the -x option, to exclude the specified suffixes from the exported
LDIF files
nsUseOneFile, analogous to the -M option, to break up the exported suffixes into individual LDIF
files
nsExportReplica, analogous to the -r option, to indicate whether the exported database is used in
replication
nsPrintKey, analogous to the -N option, to set whether to print the entry IDs as the entries are
processed by the export operation
Page view 124
1 2 ... 120 121 122 123 124 125 126 127 128 129 130 ... 373 374

Comments to this Manuals

No comments