Update (Backup)

URL:
https://<root>/system/disasterrecovery/stores/<storeName>/backups/<backupName>/update
Methods:
POST
Version Introduced:
10.9.1

Description

This operation updates the retentionDate set for a backup during its creation.

Request parameters

ParameterDetails

retentionDate

The date, in Epoch milliseconds, when the backup will be eligible for cleanup by the backupRetentionCleaner system task.

Example

Use dark colors for code blocksCopy
1
retentionDate=1635945710988

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:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /context/admin/system/disasterrecovery/stores/default/backups/backup_example/update HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

retentionDate=1635945710988&f=pjson&token=KlSTH4q-4pY0WukJwy70XcOr8aNRzbEmHDdJSm2IPrWvHUEuVObjGiJwUuBZt4o6s6IOm7Wm268IDFUe4lmsEYfrmLrREreq6yz1vJk6Du10OCNRsH3AzdBgIkSoFyhFAk9tq6aWZaDSt_h9qEMa9e0Mhh51xT94AGliIPOgJSATX8DfW4nuqb4CGOF761WL9dfuZT49ep3GJ63mmh1JuesVcbOj0wfrpb7lY3z_5CL82K3Jd95X-oy2LulscnyU

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

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