All Products
Search
Document Center

AddDomainBackup

Last Updated: Aug 13, 2021

Creates a domain name backup task.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes AddDomainBackup

The operation that you want to perform. Set the value to AddDomainBackup.

DomainName String Yes test.aliyun.com

The domain name.

PeriodType String Yes HOUR

The backup cycle. Valid values:

  • DAY: backs up data once a day
  • HOUR: backs up data once an hour
Lang String No en

The language type.

Response parameters

Parameter Type Example Description
DomainName String test.aliyun.com

The domain name.

PeriodType String DAY

The backup cycle.

RequestId String FD552816-FCC8-4832-B4A2-2DA0C2BA1688

The ID of the request.

Examples

Sample requests

http(s)://alidns.aliyuncs.com/?Action=AddDomainBackup
&DomainName=test.aliyun.com
&PeriodType=HOUR
&<Common request parameters>

Sample success response

XML format

<AddDomainBackupResponse>
      <RequestId>FD552816-FCC8-4832-B4A2-2DA0C2BA1688</RequestId>
      <DomainName>test.aliyun.com</DomainName>
      <PeriodType>DAY</PeriodType>
</AddDomainBackupResponse>

JSON format

{
	"RequestId":"FD552816-FCC8-4832-B4A2-2DA0C2BA1688",
	"DomainName":"test.aliyun.com",
	"PeriodType":"DAY"
}

Error codes

For a list of error codes, visit the API Error Center.