Open topic with navigation

# Export IDX Documents from IDOL Server

You can send a `DREEXPORTIDX` action (case sensitive) from your Web browser to export IDX documents from one or more IDOL Server databases. (Use `DREEXPORTXML` to export XML documents.) Use the following syntax:

    http://IDOLhost:indexPort/DREEXPORTIDX?FileName=fileName&Compress=True|False&DatabaseMatch=databaseCSV&BatchSize=size&MinDate=minDate&MaxDate=maxDate

where:

`IDOLhost` | The IP address or name of the IDOL Server machine.
`indexPort` | The IDOL Server index port (the value of `IndexPort` in the `[Server]` section of the IDOL Server configuration file).
`fileName` | The path to the location where you store the IDX files to export. Double-byte file names are acceptable. The path must include a basic file name, which IDOL Server postfixes with incremental numbers and an appropriate extension. If you do not specify a file name, IDOL Server exports the files to the current working directory (`IDOLserver\IDOL\content`), and IDOL Server creates a file name in the format `AUTN-IDX-EXPORT-host-port-date>-time-incrementalNumber.extension`.
`Compress` | Whether to compress the exported files. Set `Compress` to `False` if you do not want to compress the files.
`databaseCSV` | If you do not want to export documents from all IDOL Server databases, enter one or more databases to restrict the export to. If you want to specify multiple databases, separate them with plus symbols, commas, or spaces (there must be no space before or after plus symbols or commas).
`size` | The maximum number of document sections that you want to export to one IDX file. The default value is 100,000 sections.
`minDate` | The earliest creation date or time that a document can have to export.
`maxDate` | The latest creation date or time that a document can have to export.

Note: For additional action parameters, refer to the IDOL Server Reference.

## Example 1:

    http://12.3.4.56:20001/DREEXPORTIDX?FileName=/export/data/backup/output&Compress=True&DatabaseMatch=News,Archive&BatchSize=1000&MinDate=01/01/2003&MaxDate=01/01/2004

In this example, IDOL Server exports all IDX documents that have dates between the first of January 2003 and the first of January 2004. It exports from the `News` and `Archive` databases to a series of compressed files in the `/export/data/backup` directory. It names the files created in this directory `output-0.idx.gz`, `output-1.idx.gz` and so on.

## Example 2:

    http://12.3.4.56:20001/DREEXPORTIDX?

In this example, IDOL Server exports all IDX documents to a series of compressed files in the IDOL Server current working directory (`IDOLserver\IDOL\content`). It names the files created in this directory `AUTN-IDX-EXPORT-12.04.2005-02.15.41-0.idx.gz`, `AUTN-IDX-EXPORT-12.04.2005-02.15.41-1.idx.gz` and so on.

Note: IDOL Server does not split the sections of a multiple section document across batches. If the exact `BatchSize` splits a multiple-section document, IDOL Server does not use the exact value.

Note: You do not need to uncompress compressed IDX files before you index them. For example, the action `DREADD?output-0.idx.gz` indexes the `output-0.idx.gz` file correctly without you having to uncompress the file first.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm