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 generateToken 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.


Learn how to generate a token

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

ParameterDetails

name

(Required)

The name of the backup.

Example
Use dark colors for code blocksCopy
1
name=backup_sept_21_26

description

(Optional)

A description for the backup.

Example
Use dark colors for code blocksCopy
1
description=Full backup of ArcGIS Enterprise on September 21, 2026

retentionDate

(Optional)

A Unix timestamp in milliseconds representing when the backup will be eligible for cleanup by the backupRetentionCleaner system task.

Example
Use dark colors for code blocksCopy
1
retentionDate=1791217620000

mode

(Required)

The backup mode. For more information on the available backup modes, see the ArcGIS Enterprise backups documentation. The default value is backup. If this parameter is not included in the request, or if a value is not specified for this parameter, the request will fail and a backup will not be created.

Values: backup | full | incremental

includeObjectStoreData

(Optional)

Specifies whether to include object store data in the backup. The default value is false.

Values: true | false

setReadOnly

(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 false.

Values: true | false

f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the create operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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=pjson

JSON Response examples

Use dark colors for code blocksCopy
1
2
3
4
5
6
{
  "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"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.