Rolls back a file system to a snapshot of the file system.
Usage notes
- The snapshot feature is in public preview and is provided free of charge. Apsara File Storage NAS Service Level Agreement (SLA) is not guaranteed in public preview.
- Only advanced Extreme NAS file systems support this feature.
- 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 and the snapshot must be 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 advanced Extreme NAS file system. |
SnapshotId | String | Yes | s-extreme-snapsho**** | The snapshot ID. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 473469C7-AA6F-4DC5-B3DB-A3DC0DE3**** | The request ID. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=ResetFileSystem
&FileSystemId=extreme-012dd****
&SnapshotId=s-extreme-snapsho****
&<Common request parameters>
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3****</RequestId>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "473469C7-AA6F-4DC5-B3DB-A3DC0DE3****"
}
Error codes
For a list of error codes, see Service error codes.