openclaw-root-backup
OpenClaw root configuration backup — excludes credentials-sensitive directories (logs/.discovery).
Summary
Backup repository for the local OpenClaw installation at ~/.openclaw/. Contains agent configurations, workspace files, skills, and operational memory. Automated daily git sync pushes to GitHub at 16:05 (Mon–Fri).
Included Assets
Configuration
openclaw.json— Gateway config (port 18789, MiniMax provider, Tavily web search)agents/main/agent/models.json— Model providers (MiniMax, Codex/GPT-5.4)agents/main/agent/auth-profiles.json— API key profiles (readable format)agents/main/agent/auth-state.json— Auth state tracking
Workspace
AGENTS.md— Session startup behaviorMEMORY.md— Long-term memory (daily logs, stock analysis records)SOUL.md— Agent identity as senior securities analystTOOLS.md— Local environment notes and active projects
Skills
| Skill | Purpose |
|---|---|
deep-research-pro | Multi-source web research with citations |
yahooclaw | Yahoo Finance API (quotes, historical data, technical indicators) |
trading-knowledge | Trading knowledge base |
skill-audit | Security audit for other skills |
Others
workspace/.clawhub/lock.json— Installed skill registryworkspace/.learnings/ERRORS.md— Error log
How to Use
Restore from Backup
# If workspace intact:
git pull origin main
# If workspace damaged:
mv ~/.openclaw/workspace ~/.openclaw-workspace-bak
git clone https://github.com/xudashuaib/openclaw-root-backup.git temp-backup
cp -r temp-backup/workspace/* ~/.openclaw/
rm -rf temp-backup
Manual Sync
cd ~/.openclaw
rsync -av --exclude='logs/.discovery' --exclude='credentials/' . ~/.openclaw-backup/
cd ~/.openclaw-backup && git add -A && git commit -m "manual backup" && git push
Notes
- Credentials excluded: The backup intentionally excludes
logs/.discoveryand any credentials directories. Re-configure API keys after restore. - Local gateway: Runs on
loopback:18789with token auth - Backup destination:
~/.openclaw-backup/(local mirror) - Scheduled backup: Daily at 16:05 Mon–Fri via cron
- Stock analysis: Active project for 兆易创新(603986.SH) stored in workspace
No comments yet.