- URL:
- https://<root>/system/disasterrecovery/stores/<storeName>/backups/create
- Methods:
POST- Version Introduced:
- 12.2
Access requirements
Required privileges
The Portal Administrator API requires privilege-based access. An administrator must be assigned a specific user privilege, or role, to access any given endpoint. Listed below are the user privileges or roles an administrator can be assigned that provides access to this endpoint. If multiple privileges are listed, only one needs to be assigned to gain access.
Tokens
This API requires token-based authentication. A token is automatically generated for administrators who sign in to the Portal Administrator API directory's HTML interface. Tokens generated in this way are stored for the entirety of the session.
Those accessing the API directory outside of the HTML interface will need to acquire a session token from the generate operation in the Portal Directory API. For security reasons, all POST requests made to the Portal Administrator API must include a token in the request body.
Description
The create operation creates a backup that can be restored in the event of data loss, data corruption, or deployment failures. Backups are stored in a designated backup store.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The name of the backup. Example |
(Optional) | A description for the backup. Example |
(Optional) | A Unix timestamp in milliseconds representing when the backup will be eligible for cleanup by the Example |
(Required) | The backup mode. For more information on the available backup modes, see the ArcGIS Enterprise backups documentation. The default value is Values: |
(Optional) | Specifies whether to include object store data in the backup. The default value is Values: |
(Optional) | Sets the organization to read-only mode before the backup is created. While in read-only mode, requests to modify or create data, including content, users, groups, and site settings, are blocked. Once the backup is created, the organization will be removed from read-only mode. The default value is Values: |
| The response format. The default format is Values: |
Example usage
The following is a sample POST request for the create operation:
POST /<context>/portaladmin/system/disasterrecovery/stores/<storeName>/backups/create HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
name=backup_sept_21_26&description=Full backup of ArcGIS Enterprise on September 21, 2026&retentionDate=1791217620000&mode=full&includeObjectStoreData=true&setReadOnly=true&f=pjsonJSON Response examples
{
"status": "success",
"jobUrl": "https://organization.example.com/<context>/portaladmin/system/jobs/a729e381-ab58-4e99-9438-57d2955679c1",
"drStatusUrl": "https://enterprise.domain.com/<context>/portaladmin/system/disasterrecovery/status",
"jobId": "a729e381-ab58-4e99-9438-57d2955679c1"
}