qm-rollback:tldr:13a58
qm-rollback: Rollback the state of a specific VM to a specified snapshot.
$ qm rollback ${vm_id} ${snap_name}
try on your machine
The command "qm rollback" is a command used in the QEMU/KVM virtualization environment to roll back a virtual machine (VM) to a previously created snapshot.
Here is a breakdown of the command syntax:
- "qm" refers to the QEMU virtual machine manager command-line tool.
- "rollback" is the specific operation/command to be performed.
- "${vm_id}" represents the ID or name of the virtual machine you want to roll back. Replace this with the actual ID or name.
- "${snap_name}" represents the name of the snapshot you want to roll back to. Replace this with the actual snapshot name.
Essentially, this command allows you to revert a virtual machine to the state captured in a specific snapshot, restoring the VM's disk, memory, and other settings to the point in time when the snapshot was created.
This explanation was created by an AI. In most cases those are correct. But please always be careful and
never run a command you are not sure if it is safe.