vinfra service compute volume snapshot revert
Revert a volume to the specified snapshot:
usage: vinfra service compute volume snapshot revert <volume-snapshot>
<volume-snapshot>
- Volume snapshot ID or name
Example:
# vinfra service compute volume snapshot revert mynewsnapshot +-------------+--------------------------------------+ | Field | Value | +-------------+--------------------------------------+ | created_at | 2019-04-30T13:12:54.297629+00:00 | | description | | | id | 3fdfe5d6-8bd2-4bf5-8599-a9cef50e5b71 | | metadata | {} | | name | mynewsnapshot | | project_id | fd0ae61496d04ef6bb637bc3167b7eaf | | size | 8 | | status | available | | volume_id | 92dc3bd7-713d-42bf-83cd-4de40c24fed9 | +-------------+--------------------------------------+
This command reverts the volume to its snapshot mynewsnapshot
.