export_all
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
def export_all(
self,
server
)
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 | 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.  |