Nsfilename, Nsinstance, Nsincludesuffix – Red Hat 8.1 User Manual

Page 85: Nsexcludesuffix, Nsuseonefile

Advertising
background image

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

nsUseId2Entry

, analogous to the -C option, to set whether to use only the main index, id2entry, to

list the entries to export

nsNoWrap

, analogous to the -U option, to set whether to wrap long lines in the LDIF file

nsDumpUniqId

, 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

Advertising