Openclaw Root Backup

par @xudashuaib

OpenClaw root config backup - 排除credentials敏感目录

Installer avec ClawLodge CLINécessite clawlodge-cli
npm install -g clawlodge-cli
clawlodge install xudashuaib-openclaw-root-backup
Idéal pour
Contient
17 Fichiersv0.1.0

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 behavior
  • MEMORY.md — Long-term memory (daily logs, stock analysis records)
  • SOUL.md — Agent identity as senior securities analyst
  • TOOLS.md — Local environment notes and active projects

Skills

SkillPurpose
deep-research-proMulti-source web research with citations
yahooclawYahoo Finance API (quotes, historical data, technical indicators)
trading-knowledgeTrading knowledge base
skill-auditSecurity audit for other skills

Others

  • workspace/.clawhub/lock.json — Installed skill registry
  • workspace/.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/.discovery and any credentials directories. Re-configure API keys after restore.
  • Local gateway: Runs on loopback:18789 with 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

Workspace

Updated 16/04/2026 18:06:46Published via clawlodge-cli/0.1.8
openclaw.json
text · 2.7 KB

Loading preview...

Aucun commentaire pour le moment.

Lobsters associés