KVM快照管理常用命令
警告
本文最后更新于 2020-05-30 17:09,文中内容可能已过时。
快照目录:/var/lib/libvert/qemu/snapshot/
1.查看快照
virsh snapshot-list web01
2.创建快照
–name 指定快照名称
virsh snapshot-create-as --name "initial system" web01
3.恢复快照
–snapshotname 快照名称
virsh snapshot-revert web01 --snapshotname 'initial system'
4.删除快照
–snapshotname 快照名称
virsh snapshot-delete web01 --snapshotname 'initial system'
5.查看快照信息
virsh snapshot-info web01 --snapshotname 'init system'
请我喝杯水

