Home >Operation and Maintenance >Linux Operation and Maintenance >How can the created automatic snapshot policy be applied to any disk?

How can the created automatic snapshot policy be applied to any disk?

坏嘻嘻
坏嘻嘻Original
2018-09-21 15:55:582717browse

The content of this article is about how the created automatic snapshot policy can be applied to any disk. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

CreateAutoSnapshotPolicy

Create an automatic snapshot policy. The created automatic snapshot policy can be applied to any disk (ApplyAutoSnapshotPolicy), and the successfully created automatic snapshot policy can subsequently modify the policy content (ModifyAutoSnapshotPolicyEx).

Description

When calling this interface, you need to pay attention to:

An Alibaba Cloud account can be created in one region at most 100 automated snapshot strategies.

If there is a lot of disk data and the duration of a single automatic snapshot creation exceeds the interval between two time points, the next time point will be automatically skipped.

Example: You set 09:00, 10:00, 11:00 and 12:00 as automatic snapshot time points. Due to the large amount of data on the disk, the snapshot creation started at 09:00 and was completed at 10:20, which actually took 80 minutes. The system will skip the 10:00 time point and wait until 11:00 to continue creating automatic snapshots for you.

Request parameters

How can the created automatic snapshot policy be applied to any disk?

How can the created automatic snapshot policy be applied to any disk?

##Return parametersHow can the created automatic snapshot policy be applied to any disk?

Example

Request example

https://ecs.aliyuncs.com/?Action=CreateAutoSnapshotPolicy
&RegionId=cn-hangzhou
&TimePoints=[“0”, “11 ”, “21 ”]
&RepeatWeekdays=[“1” ,“2” ,“4” ,“7”]
&RetentionDays=30
&<公共请求参数>

Return example

XML format

<CreateAutoSnapshotPolicyResponse>
    <RequestId>F3CD6886-D8D0-4FEE-B93E-1B73239673DE</RequestId>
    <AutoSnapshotPolicyId>p-233e6ylv0</AutoSnapshotPolicyId>
</CreateAutoSnapshotPolicyResponse>

JSON format

{
    "RequestId":"F3CD6886-D8D0-4FEE-B93E-1B73239673DE"
    "AutoSnapshotPolicyId":"p-233e6ylv0"
}

Error codes

The following are error codes unique to this interface. For more error codes, please visit the API Error Center.

How can the created automatic snapshot policy be applied to any disk?

The above is the detailed content of How can the created automatic snapshot policy be applied to any disk?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn