qm-clone:tldr:3822d
qm-clone: Copy a virtual machine creating a full copy of all disks.
$ qm copy ${vm_id} ${new_vm_id} --full
try on your machine
The command "qm copy ${vm_id} ${new_vm_id} --full" is a command used in the Proxmox virtualization environment to create a copy of a virtual machine. Let's break down the command:
- "qm" refers to the Proxmox command-line tool used to manage virtual machines.
- "copy" is the specific action we want to perform, which is to create a copy of a virtual machine.
- "${vm_id}" is a placeholder representing the ID of the virtual machine we want to copy. You would replace this with the actual ID of the VM.
- "${new_vm_id}" is another placeholder representing the ID of the new virtual machine that will be created as a copy. You would replace this with the desired ID for the new VM.
- "--full" is an option that indicates the copy should be a full clone of the original VM, including all disk and configuration data.
So, the command is essentially creating a full clone of a virtual machine identified by "${vm_id}" and assigning it a new ID "${new_vm_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.