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 to roll back to a certain stage of disk state using a historical snapshot of the disk

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

The editor will share with you how the historical snapshot of using disk can be rolled back to a certain stage of disk state. I hope you will gain a lot after reading this article. Let's discuss it together.

ResetDisk

Description

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

The disk must be in use (In_Use).

The status of a disk-mounted instance must be stopped (Stopped).

The specified parameter SnapshotId must be a history snapshot created by DiskId.

A security-controlled ECS instance cannot be marked "LockReason": "security" in the OperationLocks.

Request parameter

Return parameters

All are common return parameters. See common parameters

Example

Request example

Https://ecs.aliyuncs.com/?Action=ResetDisk&DiskId=d-23jbf2v5m&SnapshotId=s-snapshot1&

Return the example

XML format

F3CD6886-D8D0-4FEE-B93E-1B73239673DE

JSON format

{"RequestId": "F3CD6886-D8D0-4FEE-B93E-1B73239673DE"}

Error code

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

After reading this article, I believe you have a certain understanding of how to roll back the historical snapshot of using disk to a certain stage of disk status. If you want to know more about it, welcome to follow the industry information channel. Thank you for your reading!

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