![Forrest logo](/images/logo.png)
qm-showcmd:tldr:6f321
qm-showcmd: Fetch config values from a specific snapshot.
$ qm showcmd --snapshot ${string} ${vm_id}
try on your machine
The command "qm showcmd --snapshot ${string} ${vm_id}" is used to display the Qemu-KVM command that is used to create a snapshot of a virtual machine (VM) with a specific ID.
Here's a breakdown of the command:
- "qm" is the command-line interface for managing Qemu-KVM virtual machines on Proxmox VE.
- "showcmd" is a sub-command used to display the equivalent Qemu-KVM command that Proxmox will execute.
- "--snapshot" is an option that specifies that you want to create a snapshot of the VM.
- ${string} is a placeholder for the snapshot name or ID. You need to replace it with the desired snapshot name or ID.
- ${vm_id} is a placeholder for the unique ID of the virtual machine on which you want to create the snapshot. You need to replace it with the actual VM ID.
The command will output the Qemu-KVM command that Proxmox executes when you use the "qm" command to create a snapshot of the specified VM. This can be helpful to understand the underlying mechanism or debug any potential issues.
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.