Skip to content

Commit f39b5e8

Browse files
committed
docs: refresh persistence guidance
1 parent a2fa6e8 commit f39b5e8

5 files changed

Lines changed: 12 additions & 8 deletions

File tree

β€Ždocs/install/fly.mdβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ fly ssh console --command "rm /data/openclaw.json"
326326

327327
### State Not Persisting
328328

329-
If you lose credentials or sessions after a restart, the state dir is writing to the container filesystem.
329+
If you lose auth profiles, channel/provider state, or sessions after a restart,
330+
the state dir is writing to the container filesystem.
330331

331332
**Fix:** Ensure `OPENCLAW_STATE_DIR=/data` is set in `fly.toml` and redeploy.
332333

β€Ždocs/install/podman.mdβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ The launch script and Quadlet bind-mount host state into the container:
158158
- `OPENCLAW_CONFIG_DIR` -> `/home/node/.openclaw`
159159
- `OPENCLAW_WORKSPACE_DIR` -> `/home/node/.openclaw/workspace`
160160

161-
By default those are host directories, not anonymous container state, so config and workspace survive container replacement.
161+
By default those are host directories, not anonymous container state, so
162+
`openclaw.json`, per-agent `auth-profiles.json`, channel/provider state,
163+
sessions, and workspace survive container replacement.
162164
The Podman setup also seeds `gateway.controlUi.allowedOrigins` for `127.0.0.1` and `localhost` on the published gateway port so the local dashboard works with the container's non-loopback bind.
163165

164166
Useful env vars for the manual launcher:

β€Ždocs/install/render.mdxβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ Key Blueprint features used:
6868
| Starter | Never | 1GB+ | Personal use, small teams |
6969
| Standard+ | Never | 1GB+ | Production, multiple channels |
7070

71-
The Blueprint defaults to `starter`. To use free tier, change `plan: free` in your fork's
72-
`render.yaml` (but note: no persistent disk means config resets on each deploy).
71+
The Blueprint defaults to `starter`. To use free tier, change `plan: free` in
72+
your fork's `render.yaml` (but note: no persistent disk means OpenClaw state
73+
resets on each deploy).
7374

7475
## After deployment
7576

β€Ždocs/platforms/digitalocean.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,13 +198,13 @@ htop
198198

199199
All state lives in:
200200

201-
- `~/.openclaw/` β€” config, credentials, session data
201+
- `~/.openclaw/` β€” `openclaw.json`, per-agent `auth-profiles.json`, channel/provider state, and session data
202202
- `~/.openclaw/workspace/` β€” workspace (SOUL.md, memory, etc.)
203203

204204
These survive reboots. Back them up periodically:
205205

206206
```bash
207-
tar -czvf openclaw-backup.tar.gz ~/.openclaw ~/.openclaw/workspace
207+
openclaw backup create
208208
```
209209

210210
---

β€Ždocs/platforms/oracle.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,13 +285,13 @@ Most npm packages work fine. For binaries, look for `linux-arm64` or `aarch64` r
285285

286286
All state lives in:
287287

288-
- `~/.openclaw/` β€” config, credentials, session data
288+
- `~/.openclaw/` β€” `openclaw.json`, per-agent `auth-profiles.json`, channel/provider state, and session data
289289
- `~/.openclaw/workspace/` β€” workspace (SOUL.md, memory, artifacts)
290290

291291
Back up periodically:
292292

293293
```bash
294-
tar -czvf openclaw-backup.tar.gz ~/.openclaw ~/.openclaw/workspace
294+
openclaw backup create
295295
```
296296

297297
---

0 commit comments

Comments
Β (0)