All Products
Search
Document Center

Cloud Backup:ExecutePolicyV2

Last Updated:Mar 17, 2023

Executes a backup policy for one or all data sources.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
PolicyIdstringYes

The ID of the backup policy.

po-000************hky
DataSourceIdstringNo

The ID of the data source.

i-bp1************dtv
SourceTypestringNo

The type of the data source. Valid values:

  • UDM_ECS: ECS instance backup
UDM_ECS
RuleIdstringYes

The ID of the rule. A rule can be executed only if of the RuleType is BACKUP.

rule-0002*****ux8

Response parameters

ParameterTypeDescriptionExample
object

ExecutePolicyResponse

Successboolean

Indicates whether the call is successful. Valid values:

  • true: The call is successful.
  • false: The call fails.
true
Codestring

The HTTP status code. The status code 200 indicates that the call is successful.

200
Messagestring

The message that is returned. If the call is successful, "successful" is returned. If the call fails, an error message is returned.

successful
RequestIdstring

The ID of the request.

F4EEB401-DD21-588D-AE3B-1E835C7655E1
JobIdstring

The ID of the backup job.

job-*********************

Examples

Sample success responses

JSONformat

{
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "RequestId": "F4EEB401-DD21-588D-AE3B-1E835C7655E1",
  "JobId": "job-*********************"
}

Error codes

For a list of error codes, visit the Service error codes.