qm-delsnapshot:tldr:dfc44
qm-delsnapshot: Delete a snapshot.
$ qm delsnapshot ${vm_id} ${snapshot_name}
try on your machine
The command "qm delsnapshot ${vm_id} ${snapshot_name}" is used to delete a specific snapshot of a virtual machine (VM) in the Proxmox VE virtualization environment.
Here is the breakdown of the command:
- "qm" is the executable command for managing virtual machines in Proxmox VE.
- "delsnapshot" is an argument that specifies the action to delete a snapshot.
- "${vm_id}" is a placeholder for the ID of the VM for which you want to delete the snapshot. You need to replace it with the actual VM ID.
- "${snapshot_name}" is a placeholder for the name of the snapshot you want to delete. You also need to replace it with the actual snapshot name.
By running this command with the appropriate VM ID and snapshot name, you can remove a specific snapshot from the VM. It can be useful when you want to clean up old or unnecessary snapshots to free up storage space or before creating a new snapshot.
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.