Export ldif without operational attributes (switch -O)
$ /opt/opendj/bin/export-ldif \ --excludeOperational \ --includeBranch "dc=example,dc=com" \ --excludeBranch "o=Test,dc=example,dc=com" \ --backendID userRoot \ --ldifFile /tmp/export.ldif
$ /opt/opendj/bin/export-ldif \ --excludeOperational \ --includeBranch "dc=example,dc=com" \ --excludeBranch "o=Test,dc=example,dc=com" \ --backendID userRoot \ --ldifFile /tmp/export.ldif