1. Confirm the Directory Server is offline.
  2. To import data from a compressed gzip formatted file, use the import-ldif command.
    Note:

    You must include the --isCompressed option to indicate that the input file is compressed.

    Do not specify any connection arguments when running the command.

    $ bin/import-ldif --backendID userRoot --isCompressed \ 
      --ldifFile /path/to/data.gz --rejectFile /path/to/reject.ldif \ 
      --skipFile /path/to/skip.ldif