qemu-img

qemu-img info vm100.qcow2 #查看 qcow2
qemu-img snapshot -l vm100.qcow2 #檢查 vm100 快照
qemu-img snapshot -c snapshot01 vm100.qcow2 #snappshot01(快照名) test.qcow2(要快照的檔案)
qemu-img snapshot -a snapshot01 vm100.qcow2 #使用 -a snapshot-01 回復快照
qemu-img snapshot -d snapshot01 vm100.qcow2 #刪除 -d snapshot-01 刪除快照

‘snapshot’ is the name of the snapshot to create, apply or delete
‘-a’ applies a snapshot (revert disk to saved state)
‘-c’ creates a snapshot
‘-d’ deletes a snapshot
‘-l’ lists all snapshots in the given image
————————————————————-

本篇發表於 未分類 並標籤為 。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>