Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

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

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how to create the automatic snapshot strategy can be applied to any disk, has a certain reference value, friends in need can refer to. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

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 later modify the policy content (ModifyAutoSnapshotPolicyEx).

Description

When calling this interface, you need to be aware of:

An Aliyun account can create up to 100 automatic snapshot policies in a region.

If there is a large amount of disk data and the time taken to create an automatic snapshot at a time exceeds two time intervals, the next point in time is automatically skipped.

Example: you set 09:00, 10:00, 11:00, and 12:00 as the automatic snapshot time steps. Due to the large amount of disk data, the snapshot was created at 09:00 and finished at 10:20, which actually took 80 minutes. The system skips 10:00 and waits until 11:00 to continue creating automatic snapshots for you.

Request parameter

Return parameters

Example

Request example

Https://ecs.aliyuncs.com/?Action=CreateAutoSnapshotPolicy&RegionId=cn-hangzhou&TimePoints=["0", "11", "21"] & RepeatWeekdays= ["1", "2", "4", "7"] & RetentionDays=30&

Return the example

XML format

F3CD6886-D8D0-4FEE-B93E-1B73239673DE p-233e6ylv0

JSON format

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

Error code

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

Thank you for reading this article carefully. I hope the editor can share how the automatic snapshot strategy can be applied to any disk. At the same time, I also hope that you can support it, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report