openclaw-backupBackup and restore OpenClaw data. Use when user asks to create backups, set up automatic backup schedules, restore from backup, or manage backup rotation. Handles ~/.openclaw directory archiving with proper exclusions.
Install via ClawdBot CLI:
clawdbot install alex3alex/openclaw-backupBackup and restore OpenClaw configuration, credentials, and workspace.
Run the backup script:
./scripts/backup.sh [backup_dir]
Default backup location: ~/openclaw-backups/
Output: openclaw-YYYY-MM-DD_HHMM.tar.gz
openclaw.json ā main configcredentials/ ā API keys, tokensagents/ ā agent configs, auth profilesworkspace/ ā memory, SOUL.md, user filestelegram/ ā session datacron/ ā scheduled taskscompletions/ ā cache, regenerated automatically*.log ā logsUse 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"}
}
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
Script keeps last 7 backups automatically.
Generated Mar 1, 2026
A freelance developer uses OpenClaw for project automation and needs to safeguard their configuration and API keys. This skill allows them to create regular backups of their ~/.openclaw directory, ensuring quick recovery if their system fails or data is accidentally deleted, minimizing downtime and credential reconfiguration.
A small tech team relies on OpenClaw for shared agents and workspace files. By setting up the daily cron backup, they automatically archive critical data like agent configs and user files each night, providing a safety net against data corruption or loss, which supports collaborative workflows without manual intervention.
An enterprise uses OpenClaw for internal automation with sensitive credentials and scheduled tasks. This skill enables them to implement backup rotation, keeping the last 7 backups to meet data retention policies, and offers a structured restore process for disaster recovery, ensuring business continuity and regulatory adherence.
A university lab employs OpenClaw for teaching AI agent development, with students configuring agents and workspaces. The backup skill allows instructors to quickly restore from a known good backup after each class session, resetting the environment for new users while preserving essential exclusions like logs to maintain performance.
Offer basic backup functionality for free to attract individual users, then charge for advanced features like extended backup retention beyond 7 days, cloud storage integration, or enhanced scheduling options. Revenue is generated through subscription tiers, targeting power users and small teams who need more robust data protection.
Sell licenses to large organizations that require high-security backup solutions, including encryption, audit trails, and compliance reporting. Bundle this skill with other OpenClaw modules as part of a comprehensive automation suite, generating revenue through one-time purchases or annual contracts based on user count and features.
Provide paid consulting to help businesses integrate and customize the backup skill, such as setting up cron jobs for specific time zones or tailoring exclusions. Offer ongoing support for restore operations and troubleshooting, creating a steady revenue stream from service fees while building long-term client relationships.
š¬ Integration Tip
Ensure the backup script has proper permissions and test the restore process in a safe environment before relying on it for critical data.
Transform AI agents from task-followers into proactive partners that anticipate needs and continuously improve. Now with WAL Protocol, Working Buffer, Autonomous Crons, and battle-tested patterns. Part of the Hal Stack š¦
Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawdhub CLI.
Clawdbot documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all Clawdbot features
Interact with Moltbook social network for AI agents. Post, reply, browse, and analyze engagement. Use when the user wants to engage with Moltbook, check their feed, reply to posts, or track their activity on the agent social network.
OpenClaw CLI wrapper ā gateway, channels, models, agents, nodes, browser, memory, security, automation.
MoltGuard ā runtime security plugin for OpenClaw agents by OpenGuardrails. Helps users install, register, activate, and check the status of MoltGuard. Use wh...