Open topic with navigation

# Export

Writes the entire datastore for the specified repository to a text or XML file.

This action generates individual user data in a single block where a user has alternative names.

If you export to a text file, see `TextGS_README.txt` for detailed information on the text file's format. This readme is installed in the `InstallationDir\TextDir` directory when you install the OmniGroupServer with the Text component enabled.

## Example

    http://12.3.4.56:4000/action=Export&repository=NT&filename=c:\NT\datastore.xml&format=XML

This action uses port `4000` to instruct the group server located on a machine with the IP address `12.3.4.56` to write the datastore for the `NT` repository in XML format to the `c:\NT\datastore.xml` file.

## Parameters

Parameter | Description | Required
--- | --- | ---
EncryptResponse | Encrypt the output. |
FileName | The file to which the datastore is written. | Yes
ForceTemplateRefresh | Forces the server to load the template from disk. |
Format | The output format for the file, `TEXT` or `XML`. |
Repository | The repository of the datastore that you want to export. | Yes
Template | The template to use for the action output. |
TemplateParamCSVs | A list of variables to use for the specified template. |

CAUTION:

Do not set the `output` action parameter with this action.

## See Also

- Import

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm