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

    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