# qm clone

> Create a copy of virtual machine on QEMU/KVM Virtual Machine Manager.
> More information: <https://pve.proxmox.com/pve-docs/qm.1.html#cli_qm_clone>.

- Copy a virtual machine:

`qm clone {{vm_id}} {{new_vm_id}}`

- Copy a virtual machine using a specific name:

`qm clone {{vm_id}} {{new_vm_id}} --name {{name}}`

- Copy a virtual machine using a specific descriptionn:

`qm clone {{vm_id}} {{new_vm_id}} --description {{description}}`

- Copy a virtual machine creating a full copy of all disks:

`qm clone {{vm_id}} {{new_vm_id}} --full`

- Copy a virtual machine using a specific format for file storage (requires `--full`):

`qm clone {{vm_id}} {{new_vm_id}} --full --format {{qcow2|raw|vmdk}}`

- Copy a virtual machine then add it to a specific pool:

`qm clone {{vm_id}} {{new_vm_id}} --pool {{pool_name}}`
