PingDirectory

Performing an export from specific branches

Steps

  • To export data to an LDIF file under a specific branch from the userRoot backend of the local PingDirectory server into a compressed file, run the export-ldif tool.

    Example:

    In addition to including a specific branch, the following command excludes operational attributes from the exported data and wraps long lines at column 80.

    $ bin/export-ldif --backendID userRoot --ldifFile userRoot.ldif.gz --compress \
      --includeBranch ou=people,dc=example,dc=com --excludeOperational \
      --wrapColumn 80