OpenClaw Backup and Recovery: Protect Agent Memory
OpenClaw backup protects your workspace, cron jobs, credentials, and agent memory. Run one command to archive everything and recover in minutes.
9 articles · Page 1 of 1
OpenClaw backup protects your workspace, cron jobs, credentials, and agent memory. Run one command to archive everything and recover in minutes.
OpenClaw environment variables and openclaw.json config keys organized by category: gateway, channels, agents, session, cron, tools, and security.
OpenClaw has four session types: main, isolated, named, and current. Learn when to use each one in cron jobs and subagents to control context and token costs.
OpenClaw workspace files explained: AGENTS.md, SOUL.md, USER.md, TOOLS.md, MEMORY.md, HEARTBEAT.md, and BOOTSTRAP.md with load order and common mistakes.
OpenClaw agents learn through context accumulation: MEMORY.md, AGENTS.md, the self-improvement skill, and heartbeat-driven promotion. No GPU required.
Write effective AGENTS.md, SOUL.md, USER.md, TOOLS.md, and MEMORY.md files for OpenClaw. What goes in each file, how to keep them small, and the mistakes that waste tokens.
OpenClaw AGENTS.md controls agent behavior, memory, routing, and security across sessions. Structure it right or your agent forgets everything.
OpenClaw persistent memory setup with MEMORY.md, daily logs, and embeddings search. Configure local indexing and recovery so your agent survives compaction.
Fix OpenClaw context loss after compaction. Configure reserveTokensFloor, use savestate and resume prompts, and preserve agent memory across sessions.