Open topic with navigation

# Export XML Documents from HPE IDOL Server

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

    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 HPE IDOL Server machine.
`indexPort` | The HPE IDOL Server index port (the value of `IndexPort` in the `[Server]` section of the HPE IDOL Server configuration file).
`fileName` | The path to the location where you store the XML files to export. Double-byte file names are acceptable. The path must include a basic file name which HPE IDOL Server postfixes with incremental numbers and an appropriate extension. If you do not specify a file name, HPE IDOL Server exports the files to the current working directory (`IDOLserver\IDOL\content`), and HPE IDOL Server creates a file name in the format `AUTN-XML-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` | One or more databases to export documents from. By default, HPE IDOL Server exports from all databases. 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 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/DREEXPORTXML?FileName=/export/data/backup/output&Compress=True&DatabaseMatch=News,Archive&BatchSize=1000&MinDate=01/01/2003&MaxDate=01/01/2004

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

## Example 2:

    http://12.3.4.56:20001/DREEXPORTXML?

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

Note: HPE IDOL Server does not split multiple-section documents across chunks, so the specified `BatchSize` is not used exactly if it splits a multiple-section document.

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

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback 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. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm