1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-01 05:33:43 +02:00
tldr/pages/linux/qm-snapshot.md

25 lines
701 B
Markdown
Raw Normal View History

2022-10-12 12:50:32 +05:30
# qm snapshot
> Create virtual machine snapshots.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html>.
- Create a snapshot of a specific virtual machine (name must start with a letter):
2022-10-12 12:50:32 +05:30
2025-07-25 19:00:05 +03:00
`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}}`
2022-10-12 12:50:32 +05:30
- Create a snapshot with a specific description:
2025-07-25 19:00:05 +03:00
`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}} --description {{description}}`
2022-10-12 12:50:32 +05:30
- Create a snapshot including the vmstate:
2025-07-25 19:00:05 +03:00
`qm {{[sn|snapshot]}} {{vm_id}} {{snapshot_name}} --description {{description}} --vmstate 1`
- List snapshots of a VM:
`qm {{[lists|listsnapshot]}} {{100}}`
- Rollback the state of a specific VM to a specified snapshot:
`qm {{[ro|rollback]}} {{vm_id}} {{snap_name}}`