OpenClaw Backup (PhenixStar)
/install phenixstar-openclaw-backup
OpenClaw Backup
Backup and restore OpenClaw configuration, credentials, and workspace.
Create Backup
Run the backup script:
./scripts/backup.sh [backup_dir]
Default backup location: ~/openclaw-backups/
Output: openclaw-YYYY-MM-DD_HHMM.tar.gz
What Gets Backed Up
openclaw.json— main configcredentials/— API keys, tokensagents/— agent configs, auth profilesworkspace/— memory, SOUL.md, user filestelegram/— session datacron/— scheduled tasks
Excluded
completions/— cache, regenerated automatically*.log— logs
Setup Daily Backup with Cron
Use OpenClaw cron for daily backups with notification:
{
"name": "daily-backup",
"schedule": {"kind": "cron", "expr": "0 3 * * *", "tz": "UTC"},
"payload": {
"kind": "agentTurn",
"message": "Run ~/.openclaw/backup.sh and report result to user."
},
"sessionTarget": "isolated",
"delivery": {"mode": "announce"}
}
Restore
See references/restore.md for step-by-step restore instructions.
Quick restore:
openclaw gateway stop
mv ~/.openclaw ~/.openclaw-old
tar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz -C ~
openclaw gateway start
Rotation
Script keeps last 7 backups automatically.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install phenixstar-openclaw-backup - After installation, invoke the skill by name or use
/phenixstar-openclaw-backup - Provide required inputs per the skill's parameter spec and get structured output
What is OpenClaw Backup (PhenixStar)?
Backup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Ha... It is an AI Agent Skill for Claude Code / OpenClaw, with 37 downloads so far.
How do I install OpenClaw Backup (PhenixStar)?
Run "/install phenixstar-openclaw-backup" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is OpenClaw Backup (PhenixStar) free?
Yes, OpenClaw Backup (PhenixStar) is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does OpenClaw Backup (PhenixStar) support?
OpenClaw Backup (PhenixStar) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created OpenClaw Backup (PhenixStar)?
It is built and maintained by Alaa Qweider (@phenixstar); the current version is v1.0.0.