Show Table of Contents
4.15. snapshot
snapshot 资源类型是所有虚拟快照资源在 Red Hat Virtualization 环境中的组合。
表 4.39. 快照参数
| 名称 | 类型 | 描述 | 必需的 | 用户可创建 | 用户可更新 |
|---|---|---|---|---|---|
--description
|
字符串
|
快照描述。
|
是
|
是
|
否
|
下表列出了基于资源的命令中的快照选项。
表 4.40. 额外的命令选项
| 选项 | 描述 |
|---|---|
--vm-identifier | 把磁盘添加到一个虚拟机作为一个子资源。 |
例 4.33. 创建一个新快照
[RHEVM shell (connected)]# add snapshot --vm-identifier MyVM --description 'My Snapshot'
例 4.34. 删除一个快照
[RHEVM shell (connected)]# remove snapshot [snapshot_id]
下表列出了针对一个虚拟机快照资源的操作。
表 4.41. 虚拟机快照操作
| 操作 | 描述 |
|---|---|
restore | 恢复一个快照。 |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.