CP(1)General Commands ManualCP(1)

cp — copy a VM

ssh chroot.dev cp [-w] [-c cpus] [-d disk] [-m memory] name [new]

cp copies name to new, or to a random name. A running VM is copied with its memory: the copy resumes with the same processes.

With -c, -d or -m only the disks are copied and the copy boots cold. They take the same values as in new(1). -w waits until ssh on the copy answers.

$ ssh chroot.dev cp web web-test -w

new(1), copies(7)

chroot.devOctober 7, 2026CP(1)