fix(backup): keep large file reads from false-timeout (#122235)

* fix(backup): track file read progress

* fix(backup): keep progress type internal
This commit is contained in:
Peter Steinberger
2026-08-11 13:09:40 -07:00
committed by GitHub
parent a40df57bae
commit 32a43960c6
5 changed files with 197 additions and 12 deletions
+2
View File
@@ -112,6 +112,8 @@ Installed plugin source and manifest files under the state directory's `extensio
Installer-managed and rebuildable runtime roots under the state directory are also skipped: `dev/`, `git/`, `npm/`, legacy `npm-runtime/`, and `tools/`. These contain managed checkouts, package trees, and downloaded runtimes rather than authoritative user state; reinstall or update the corresponding runtime or plugin after restore. An explicitly configured config file, credentials directory, or workspace inside one of these roots remains included.
Local edits inside a managed `dev/` checkout are developer source, not OpenClaw product state, and are not included. Commit and push those edits or copy the checkout separately before relying on a state backup.
## Invalid config behavior
`openclaw backup` bypasses the normal config preflight so it can still help during recovery. Workspace discovery depends on a valid config, so `openclaw backup create` fails fast when the config file exists but is invalid and workspace backup is still enabled.