Rolls back a file system to the snapshot of the file system.
Description
- The file system must be in the Running state.
- To roll back a file system to a snapshot, you must specify the ID of the snapshot that is created from the file system.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ResetFileSystem |
The operation that you want to perform. Set the value to ResetFileSystem. |
FileSystemId | String | Yes | extreme-012dd**** |
The ID of the file system. |
SnapshotId | String | Yes | s-extreme-snapsho**** |
The ID of the snapshot. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ResetFileSystem
&FileSystemId=extreme-012dd****
&SnapshotId=s-extreme-snapsho****
&<Common request parameters>
Sample success responses
XML
format
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
JSON
format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Error codes
For a list of error codes, visit the API Error Center.