GuidesRunning & maintaining

How to move OpenClaw to a new computer without losing your agent

Move an OpenClaw agent to a new Mac, server or host: the full backup, the restore, what has to be set up again, and why the old Gateway must stay off.

October 3, 2026The Everpod team
The short answer

On the old computer, stop the Gateway and run openclaw backup create --output ~/Backups/openclaw --verify. Copy the archive across, install the same OpenClaw version (or a newer one) on the new computer, unpack it with openclaw backup restore, move it into place, run openclaw doctor and start the Gateway. Move the whole backup, not just MEMORY.md or the config file, and keep the old Gateway stopped for good: two copies of one agent fight over the same chat connections.

What has to come with it

The agent you talk to is spread across more than its memory file. OpenClaw’s migration guide lists what a move has to carry: the configuration, the model sign-ins and API keys, the conversation history, the chat connections (the WhatsApp login, the Telegram session), and the workspace with MEMORY.md, USER.md, SOUL.md, skills and prompts. Current versions keep much of that in SQLite databases rather than plain files, so copying openclaw.json and a few Markdown files across gives you an agent with the right name and none of its sign-ins, history or connections. The backup command collects all of it into one archive.

Some things the agent depends on live outside OpenClaw entirely: programs it installed for itself, scheduled jobs set up in the computer’s own scheduler rather than in OpenClaw, SSH keys, a Tailscale login, a browser profile with your sign-ins. Ask the agent before the move what it has installed or set up outside its workspace, and keep the list.

The move, step by step

On the old computer, check where the state lives and which version you run, then stop the agent and back it up:

openclaw status
openclaw --version
openclaw gateway stop
mkdir -p ~/Backups/openclaw
openclaw backup create --output ~/Backups/openclaw --verify

Stopping first matters for a move: the backup can copy a running agent safely, but anything the agent does after the copy would be left behind. Move the .tar.gz by scp, a USB drive or another private route; it contains every key the agent holds, so it does not go through email or a public file-sharing link.

On the new computer, install OpenClaw at the same version as the old one, or newer. A newer version moves the data to its own format on first start; an older one refuses data from a newer one. Onboarding may create a fresh ~/.openclaw; that is fine, the restore replaces it. Then unpack the archive into an empty folder:

openclaw backup restore ~/openclaw-backup.tar.gz --target ~/openclaw-restored

The restore checks the archive and writes nothing into the live agent. With the Gateway stopped, move the restored state into place (or point OPENCLAW_STATE_DIR at it), using the manifest.json inside to see where the configuration, credentials and workspace go. From a Mac to Linux the home folder changes, from /Users/you to /home/you, so map each part to its new path rather than copying the old ones. Make sure the user who will run the Gateway owns the files, then:

openclaw doctor
openclaw gateway start
openclaw status

Check what the migration guide checks: the Gateway is running, the channels are connected without pairing again, the dashboard shows your past conversations, and the agent knows who you are. Ask it something only it would remember.

Only one of them may run

The old and new Gateway are the same agent with the same credentials. Left running together, they compete: Telegram hands each message to only one of them and rejects the other’s connection, a WhatsApp login can be signed out, and scheduled jobs run twice. Keep the old Gateway stopped, and switch off whatever would start it again: a login item or LaunchAgent on a Mac, a system service on Linux. Once the new one has run for a few days, uninstall OpenClaw from the old computer and delete its old backups along with it.

What usually needs doing again

When your old host has closed

Three managed OpenClaw hosts have closed in 2026, and what their owners can still save differs:

Starting fresh is less of a loss than it sounds if you saved the Markdown files: an agent’s personality and memory live in SOUL.md, USER.md and MEMORY.md, which any new OpenClaw reads from its workspace. Keeping your agent’s personality and memory in files covers what each one holds.

From a Mac mini to the cloud

The usual reason to move is the computer rather than the agent: a Mac mini at home sleeps, loses power, and needs its updates and backups run by you. A VPS keeps the agent running when your home internet drops, with the same backup and restore as above, and you take on the server. If you would rather not run any computer for it, managed OpenClaw hosts take the machine off your hands; before you choose one, ask whether it can take in an existing agent from an OpenClaw backup, since not every host lets you reach the place the restore needs to go.

Your own open-source AI agent, set up for you.

Everpod runs OpenClaw on a private, always-on computer of its own: set up, secured and backed up, with model usage included. You name your agent, and say hello about fifteen minutes later.

Create your agent

First month half price, then $29/mo · model usage included · cancel anytime

Wondering what you’d do with one? See what a cloud agent can do