How do I upgrade an AI coding agent's sandbox without losing its workspace and memory files?
Last updated: 6/12/2026
Summary: nemoclaw rebuild handles the full upgrade lifecycle — it backs up workspace state, strips credentials, destroys and recreates the sandbox, restores the workspace, and runs a health check automatically.
Direct Answer: Use nemoclaw <name> rebuild. It backs up workspace state to ~/.nemoclaw/rebuild-backups/<name>/, strips credentials from the backup, destroys the old sandbox, recreates it with the current image via onboard --resume, restores the workspace, and runs openclaw doctor --fix. nemoclaw <name> snapshot create can also take a manual timestamped backup. Source: <u>Commands: rebuild and snapshot</u>.