Back up your config, credentials, and sessions

getting started

// what it does

openclaw backup create writes an archive of config, credentials, sessions, and workspaces; --verify validates it right after writing, and --only-config archives just openclaw.json. openclaw backup verify <archive> re-checks an existing archive's integrity — manifest, payloads, and SQLite shape — before you rely on it.

// shell

$ openclaw backup create --verify
$ openclaw backup verify backup.tar.gz
$ openclaw reset --scope state --yes

// gotcha

Take a backup before openclaw reset or any risky config change. reset without --scope prompts for what to wipe, and --non-interactive is only valid when both --scope and --yes are set.

// resources