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 the copy is ready, for at most 60 seconds, as in new(1).

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

log(1), new(1), copies(7)

chroot.devOctober 11, 2026CP(1)