Media Server 25.4
Media Server Help

# ExportFaceDatabase

Exports a face 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
`includeimagedata` | A Boolean value (default true) that specifies whether to export the training images. You can run face recognition without the images, but future enhancements to face recognition might require retraining and this is not possible without the images. | No
`includemetadata` | A Boolean value (default true) that specifies whether to export the custom metadata you have added to faces. | No

## Example

The following example exports the database named "people":

    /action=ExportFaceDatabase&database=people
                              &dbpath=./exported/people.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 2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 25.4

Topic Title: ExportFaceDatabase