OpenClaw operations guide

Restore an OpenClaw backup: rehearse a move to a new host

Short answer. Verify an OpenClaw backup, restore it to an isolated staging directory, and prove Gateway, workspace, and channel recovery before a host cutover. Use this when replacing a Gateway host or rehearsing disaster recovery. Choose a recent recovery point, identify who authorizes the cutover, and decide how much state would need to be recovered before starting.

Last updated · Published

By CWYN · Reviewed November 17, 2026 · Check your installed version’s help before running these commands

Use this when replacing a Gateway host or rehearsing disaster recovery. Choose a recent recovery point, identify who authorizes the cutover, and decide how much state would need to be recovered before starting.

1. Inventory the state and the services that use it

Record the OpenClaw release, service user, effective state and config paths, configured agent roots, workspace paths, and externally mounted data or services. Capture a short expected-results list. For example, name one workspace file, one retained conversation, one channel account, and one scheduled job the owner must recognize after recovery. Keep identifiers and credentials private.

2. Create and verify a full archive

Follow the official backup procedure. For a planned machine move, coordinate downtime on the source as described in the migration guide. Where supported, openclaw backup create --output /path/to/private-backups --verify creates and checks the archive. Use a private encrypted destination and confirm that the manifest covers the required assets. If verification fails or runs out of resources, keep the failure details and resolve them before marking the recovery point usable.

3. Restore to a fresh target and inspect path mappings

Use openclaw backup restore ARCHIVE --target STAGING_DIR if your version supports it. Choose a fresh private staging directory with space for the uncompressed assets while keeping the source intact. Review the manifest, ownership, and absolute symlinks against the destination host. Inventory external data separately and confirm the restored configuration cannot write to production services during the drill.

4. Prove the restored Gateway in isolation

Prepare the restored tree using the migration instructions for your platform and service user. Start only an isolated test profile with schedules, live channels, and outbound integrations disabled or replaced with test equivalents. Verify Gateway readiness, the expected workspace and retained conversation, and one harmless local interaction. Record which external checks require an actual cutover. A community restore case illustrates why service and channel checks belong in the plan.

5. Cut over one service owner at a time

At the authorized cutover, confirm the source is stopped and evaluate anything written since the verified recovery point. Verify Gateway identity and the intended route before enabling channels and jobs. Review pending approvals and queued delivery before resuming. Older channel state may require relinking. Use an owner-controlled destination to verify reply delivery and leave failed integrations paused. If the move is aborted, stop the destination before restarting the source and reconcile any writes or deliveries that occurred after the switch.

Get your free CWYN Score to choose your next setup improvement.

Next steps

Check the restored workspace in staging

Use the fresh-session recall test in the OpenClaw Complete Setup Pack ($14.95), an optional paid kit, to check private workspace memory on the isolated test Gateway.
Kit details as of Nov 18, 2026