Forrest logo
back to the qm tool

qm-clone:tldr:82c66

qm-clone: Copy a virtual machine.
$ qm copy ${vm_id} ${new_vm_id}
try on your machine

This command is used to make a copy of a virtual machine (VM) with the specified ID (${vm_id}) and assign a new ID (${new_vm_id}) to the copied VM.

The "qm" command is typically associated with the Proxmox Virtual Environment (PVE), which is an open-source server virtualization management platform. It allows administrators to create and manage VMs, containers, and other resources.

In this specific command, "copy" is the operation being performed by the "qm" command. It instructs PVE to create a new VM that is an exact copy of the original VM specified by ${vm_id}.

${vm_id} and ${new_vm_id} are placeholder variables that need to be replaced with the actual IDs of the original VM and the desired ID for the copied VM, respectively. The IDs can be numerical values assigned to each VM in PVE.

Overall, this command is used to duplicate a VM by creating a new VM with the same configuration and settings as the original one, but with a different ID.

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.
back to the qm tool