- Migrate to Levelrail: the overview, the six step flow, the downtime table, the checklists and rollback
- Migrate from Coolify
- Migrate from Dokploy
- Migrate from CapRover
- Migrate from Dokku
- Migrate from Docker Compose
- Migration reference: flags, mapping tables, database copy, hub and cutover details
Read-only agent on the old server
Reading an old platform’s API misses things: a container started by hand withdocker run, a database the platform never tracked, a volume nobody remembers. The migration agent looks at the old server itself. It is a small separate program, levelrail-migrate, that you install on the server you are leaving and remove when you are done.
What it does in this release:
- Lists the containers, volumes and databases it finds on the old server’s Docker, including ones the Coolify, Dokploy or CapRover API does not list. Containers that match no imported app are flagged, and database containers are labelled by engine and version.
- Counts the files and bytes in each volume (and bind mount) of an imported app and compares them with the copy on this server.
- When every volume of an app matches exactly, it completes the
data_verifiedcutover step for you. A single difference, a missing volume, or files that changed while they were being counted keeps the step open.
- It does not dump databases and does not stream volume data. You still copy data with
levelrail-cli migrate db-copyandmigrate volumes. Database contents are not counted by the agent; the page and the CLI tell you how many database containers it saw so you do not forget them. The step note records that databases still need separate verification. - It never starts, stops, changes or runs anything on the old server. It cannot complete
dns_switchedorold_stopped; those stay yours.
Set it up
In the dashboard open Migrate, then Source agent, name the server and create the install command. From a terminal:levelrail-migrate binary downloaded there. The command carries a single-use token and the control plane’s CA fingerprint, which the agent requires: it will not enroll against an unpinned control plane. The token expires after one hour by default and works once. The command carries the token, so it lands in your shell history: clear that history entry (or run the command with a leading space where your shell supports it) once the agent has enrolled. The agent installs a hardened systemd unit and dials out to the control plane; the old server needs no inbound port.
Then check what it found and compare an app’s volumes:
--target NAME=FILES:BYTES. The agent cannot vouch for numbers you typed, so the comparison is marked operator-supplied and data_verified is never completed automatically: tick it off yourself on the cutover checklist after checking the numbers.
A volume with 0 files and 0 bytes on the source matches an empty volume here, which is also what a failed copy looks like. Such volumes block automatic completion until you confirm they are meant to be empty with --ack-empty (the dashboard has a checkbox for the same). The acknowledgement is written to the audit log. Every verification audit entry records how many --target overrides were used (overrides=N).
Viewing a session’s discovered containers, images and paths needs the same permission as creating a session; the session list stays readable with plain read access.
Undo and remove
An agent-completeddata_verified shows who completed it and the evidence. Undo it from the cutover checklist (the button is labelled “Undo agent verification”) or with:
data_verified and the steps after it, because they depended on it. A later verification can complete the step again.
Remove the agent when you are done, or sooner:
Settings
Every session event (token issued, enrolled, each discovery and scan, denials, verification, step advance or reopen, revoke, expiry) is written to the audit log and follows its retention. See the migration agent threat model for what the agent can and cannot do.
Not yet verified on a real Coolify, Dokploy or CapRover host. Treat the first run as a rehearsal: install it on a server you can afford to look at closely.