Skip to main content Skip to complementary content

ExportAll

Export all definitions from the requested server repository on the selected server (server settings, tasks, endpoints, and so on). The definitions are exported to a JSON file.

Required User Role: See Required Enterprise Manager permissions.

Syntax

public string ExportAll(

string server

);

Parameters

Parameters
Parameter Type Description
server string The name of the server containing the repository to be exported.

Return values

Export JSON file as a string.

Errors

Error responses
Error Message Description

AEM_METHOD_NOT_SUPPORTED_VERSION

AemExportAll is only supported on Replicate 5.5 or above.

The method requires Replicate 5.5 or above.

AEM_EXPORT_NO_PERMISSION_ON_TASK

Failed to export all tasks from Replicate server {server} as the logged in user does not have permission to export one or more of the defined tasks.

Export all cannot be carried out because the user does not have permissions on one or more tasks.

AEM_EXPORT_NO_PERMISSION_ON_ENDPOINT

Failed to export all tasks from server {server} as the logged in user does not have permission to export one or more of the defined endpoints.

Export all cannot be carried out because the user does not have permissions on one or more endpoints.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!