# ExportImageComparisonDatabase

Exports an image comparison database to a file, so that it can be imported into a different training database.

Type: asynchronous

Parameter | Description | Required
--- | --- | ---
`database` | The name of the database to export. | Yes
`dbpath` | The path of the file to create, containing the data. Specify an absolute path, or a path relative to the Media Server executable file. Media Server must be permitted to write to the path (see AllowedOutputDirectoryCSVs). | Yes
`includemetadata` | A Boolean value (default true) that specifies whether to export the custom metadata you have added to image comparison reference images. | No

## Example

The following example exports the database named "ReferenceImages":

    /action=ExportImageComparisonDatabase&database=ReferenceImages
                                         &dbpath=./exported/ReferenceImages.dat

## Response

This action is asynchronous, so Media Server always returns success accompanied by a token. You can use this token with the QueueInfo action to retrieve the status of your request.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm