Skip to content

Clone a VPS

A clone is a new VPS that starts with a copy of another VPS’s whole disk: the system, installed software and /home. Set up one VPS the way you like it, then clone it instead of setting up the next one by hand.

Terminal window
lt vps clone dev dev2 --wait

The source can be running or stopped. A running VPS keeps running. Its disk is copied as it is at that moment, as if it lost power then: RAM and running processes are not copied. Programs that keep data in memory, such as a database, recover the way they do after a power cut. To be sure, stop such programs, or the whole VPS, first.

The new VPS has the same OS and size as the source. It boots fresh: ports, share links, snapshots and private network attachments are not copied. It counts against your team’s limits like any new VPS.

Terminal window
lt vps clone dev dev-small --vcpus 1 --memory-gib 2 --wait

--vcpus and --memory-gib set the copy’s CPU and RAM; leave one out to keep the source’s. The disk keeps the source’s size. The size must be one lt vps create would accept (a listed configuration, or inside the OS’s custom sizes in lt vps catalog). A live clone keeps the source’s size, since it carries on from the source’s memory; resize the copy afterwards instead.

A team owner can give the clone to another member of the same team:

Terminal window
lt vps clone dev sam-dev --for sam@example.com --wait

The teammate becomes the new VPS’s creator, so they can stop, start and delete it themselves.

The dashboard has a Clone action on each VPS that does the same.