![Forrest logo](/images/logo.png)
qm-clone:tldr:9dee4
The command "qm copy" is used in Proxmox VE to create a new virtual machine by copying an existing virtual machine. Here is an explanation of the different parts of the command:
-
"qm copy": This is the command to create a new virtual machine by copying an existing one.
-
"${vm_id}": This is a variable that represents the ID of the virtual machine that you want to copy. In actual usage, you need to replace "${vm_id}" with the actual ID of the virtual machine.
-
"${new_vm_id}": This is a variable that represents the ID you want to assign to the new virtual machine. Similar to the previous variable, you need to replace "${new_vm_id}" with the desired ID for the new virtual machine.
-
"--pool ${pool_name}": This is an option that specifies the storage pool where the new virtual machine's files will be stored. The "${pool_name}" variable needs to be replaced with the actual name of the storage pool.
By executing this command, Proxmox VE will create a new virtual machine by copying the specified existing virtual machine, with a new ID and stored in the specified storage pool.