Nsfilename, Nsinstance, Nsincludesuffix – Red Hat 8.1 User Manual
Page 85: Nsexcludesuffix, Nsuseonefile

, analogous to the -r option, to indicate whether the exported database is used in
replication
, analogous to the -N option, to set whether to print the entry IDs as the entries are
processed by the export operation
, analogous to the -C option, to set whether to use only the main index, id2entry, to
list the entries to export
, analogous to the -U option, to set whether to wrap long lines in the LDIF file
, analogous to the -u option, to set whether to include the unique IDs with the entries
when they are exported
nsFilename
The nsFilename attribute contains the path and filenames of the LDIF files to which to export the
Directory Server instance database.
Parameter
Description
Entry DN
cn=task_name, cn=export, cn=tasks, cn=config
Valid Values
Any string
Default Value
Syntax
Case-exact string, multi-valued
Example
nsFilename: /home/jsmith/example.ldif
nsInstance
This attribute supplies the name of the database instance from which to export the database, such as
NetscapeRoot or userRoot.
Parameter
Description
Entry DN
cn=task_name, cn=export, cn=tasks, cn=config
Valid Values
The name of a Directory Server instance (any
string)
Default Value
Syntax
Case-exact string, multi-valued
Example
nsInstance: userRoot
nsIncludeSuffix
This attribute identifies a specific suffix or subtree to export to an LDIF file.
Parameter
Description
Entry DN
cn=task_name, cn=export, cn=tasks, cn=config
Valid Values
Any DN
Default Value
Syntax
DN, multi-valued
Example
nsIncludeSuffix: ou=people,dc=example,dc=com
nsExcludeSuffix
This attribute identifies suffixes or subtrees in the database to exclude from the exported LDIF file.
Parameter
Description
Entry DN
cn=task_name, cn=export, cn=tasks, cn=config
Valid Values
Any DN
Default Value
Syntax
DN, multi-valued
Example
nsExcludeSuffix:
ou=machines,dc=example,dc=com
nsUseOneFile
This attribute sets whether to export all Directory Server instances to a single LDIF file or separate LDIF
files.
Parameter
Description
Entry DN
cn=task_name, cn=export, cn=tasks, cn=config
Red Hat Directory Server 8.1 Configuration and Command Reference
85