Skip To Content
ArcGIS Developers
Dashboard

Update (Disaster Recovery Settings)

Description

This operation updates disaster recovery settings. At 10.9, the only supported setting is the staging location, where component backups are stagged before being moved to the backup store. This setting is configured by providing storage information, such as a key:value pair for uniquely identifying an existing persistent volume or a storage class to dynamically create a persistent volume to use.

Request parameters

ParameterDetails
settings

A JSON object describing disaster recovery settings. The only supported setting at 10.9 is stagingVolumeConfig. The stagingVolumeConfig property contains the following attributes:

  • provisioningType: must be DYNAMIC
  • storageClass: the storage class to use
  • size: the size for the persistent volume.

Example

settings={
  "stagingVolumeConfig": {
    "storageClass": "staging",
    "size": "16Gi",
    "accessModes": "ReadWriteOnce"
  }
}
f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the update operation, formatted for readability:

POST /context/admin/system/disasterrecovery/settings/update HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

settings={
  "stagingVolumeConfig": {
    "storageClass": "staging",
    "size": "16Gi",
    "accessModes": "ReadWriteOnce"
  }
}&f=pjson&token=HRozb6bnTL6gfA-SJO-IxhfLgJrioK1KJdMLWmCE5HjHWz9U3fOiFv3-HkgPZqsLljTkk2WDENGt5fjho5s39e_mZL5At60UvJPoNnC5O2sv2HTlumG7TsYfbtnokpWmS6-lf8XoQpSKusZwmxIkEMP-yE0Wxrj8o9sWKi29J-pxzkoCDhoUfdLt6NnBWxhESpegh8BzNcEruqxuDQD-JRmaTsbRDaBHTQTePMzQePhXl7KcEG9Cfkw2sa7P1W1e

JSON Response example

{"status": "success"}