OpenClaw now ships recovery features, but a safe update still starts with an operator who knows what must be restored. Use this checklist before upgrading a Gateway that can read files, send messages, or run scheduled work.
Before the command
- Write down the current version with
openclaw --version. - Back up configuration, credentials references, session state, and any external files the deployment owns.
- Read the release notes for breaking changes, migrations, and plugin SDK deprecations.
- Confirm the Node runtime and package manager are supported by the target release.
- Pause non-essential automations while the update runs.
During the update
Keep the Gateway in an environment where you can see its logs and service owner. If Doctor or candidate validation fails, stop and read the failure. Do not delete retained originals until you have tested the new version and decided that rollback is no longer needed.
openclaw doctor
openclaw gateway status
After the update
- Check the running version and Gateway status.
- Send one harmless message through each critical channel.
- Run one read-only workflow, one approval, and one scheduled task in a disposable workspace.
- Review changed plugin and skill permissions.
- Record the version, test results, and any follow-up migration in the runbook.
The official rollback and recovery guide explains which failures can be recovered automatically and which database migrations still require a verified backup. The Gateway security guide covers exposure, pairing, and trust boundaries. Keep both links with your maintenance procedure.
Reference Trail
Sources and further reading
- rollback and recovery guidedocs.openclaw.ai
- Gateway security guidedocs.openclaw.ai