# DREEXPORTREMOTE

Allows you to export IDX or XML documents from one or more IDOL Server databases on a source IDOL Server (local or remote machine) and add them to a database on a target IDOL Server (local or remote machine).

NOTE: Multi-section documents are not split across chunks, so the BatchSize specified in the index action parameter is not used exactly if it requires a split a document section.

## Example

    http://localhost:9071/DREEXPORTREMOTE?&TargetEngineHost=twist&TargetEnginePort=9100&Delete=true&Blocking=true&BatchSize=10000

This action exports all documents from IDOL Server and adds them to databases of the same name on the remote IDOL Server on host `twist` (using the target host ACI port). It deletes the local documents after the export is complete. Each DREADD on the remote server completes before the next one is called. The maximum batch size is `10000` document sections.

    http://content01:9071/DREEXPORTREMOTE?&TargetEngineHost=content02&TargetEnginePort=20400&DatabaseMatch=Flowers&DREDBName=Botany

This index action exports all documents from the remote database `Flowers` to the remote IDOL Server on host `content02` (using the target host ACI port), adding the documents to the database `Botany`.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
BatchSize | The number of document sections to export into one IDX file.
Blocking | Whether each indexing action on the target IDOL Server must finish before the next one starts.
Compress | Whether to compress exported files.
CreateDatabase | Whether to create unknown databases.
DatabaseMatch | The databases to export documents from.
Delete | Whether to delete the exported documents.
DREDbName | The database for documents to add to the target IDOL Server.
ExportTempDir | The directory where `DREEXPORTREMOTE` creates temporary files.
Field | The reference field that the specified references must occur in.
GSSServiceName | The GSSAPI service name of the IDOL Server to export the documents to.
KeepExisting | Modifies the KillDuplicates operation.
KillDuplicates | How to handle duplicates when adding documents to the target IDOL Server.
MatchID | The IDs of documents to export.
MatchReference | The references of documents to export.
MaxDate | The latest creation date of documents to export.
MinDate | The earliest creation date of documents to export.
SSLConfig | The configuration file section that contains SSL options for communications with the remote server.
StateMatchID | Export only documents listed in the specified state token.
TargetEngineHost | The host name or IP address of the IDOL Server to export the documents to. You can also use the parameter name `RemoteEngineHost`.
TargetEnginePort | The ACI port number of the IDOL Server to export the documents to. You can also use the parameter name `RemoteEnginePort`.
UseDREADD | Use DREADD for the `DREEXPORTREMOTE` action, rather than the default DREADDDATA.

This index action accepts the following standard index action parameters.

Parameter | Description
--- | ---
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action.
IndexUID | An identification code for any document tracking events.
NoArchive | Turn off configured archiving for the index action.
Priority | The priority for the index job.

## Comments

The TargetEngineHost and TargetEnginePort parameters are required for IDOL Server versions earlier than 7.x.

_FT_HTML5_bannerTitle.htm