nvidia.com

Command Palette

Search for a command to run...

How do I upgrade an AI coding agent's sandbox without losing its workspace and memory files?

Last updated: 4/28/2026

Summary: nemoclaw <n> 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 <n> rebuild. It performs the following steps automatically:

  1. Backs up workspace state to ~/.nemoclaw/rebuild-backups/<n>/
  2. Strips credentials from the backup
  3. Destroys the old sandbox
  4. Recreates it with the current image via onboard --resume
  5. Restores the workspace
  6. Runs openclaw doctor --fix

You can also use nemoclaw <n> snapshot create to take a manual timestamped backup at any time.

Source: Commands: rebuild and snapshot.

Related Articles