backup

Create timestamped tar.gz backups of the ~/.openclaw directory.

1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/pingshian0131/ai-agent-skill-collections-public --skill backup-pingshian0131
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: backup
Source: https://github.com/pingshian0131/ai-agent-skill-collections-public/tree/main/openclaw/backup
Command: npx skills add https://github.com/pingshian0131/ai-agent-skill-collections-public --skill backup-pingshian0131

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill safeguards your OpenClaw configuration by creating secure, timestamped backups, preventing data loss and ensuring you can easily restore your setup.

Core Features & Use Cases

  • Automated Backups: Creates compressed archives of your ~/.openclaw directory.
  • Backup Management: Allows listing, uploading to cloud storage (Google Drive via rclone), and cleaning up old backups.
  • Use Case: Automatically back up your OpenClaw workspace daily, upload it to Google Drive, and keep the last 7 backups to ensure you always have a recent, safe copy.

Quick Start

Use the backup skill to create a new backup of your OpenClaw configuration.

Frequently Asked Questions about backup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I back up my OpenClaw configuration directory?

Yes, you can upload OpenClaw backups to Google Drive using rclone. The bash script includes configurable parameters to push the latest tar.gz archive directly to your cloud storage.

How do I clean up old OpenClaw backups and keep only a specific number?

Cleaning up old OpenClaw backups is handled by the bash script, which removes older tar.gz archives and keeps a specified number of recent backups to maintain an efficient backup rotation.

Do I need rclone installed to automate OpenClaw cloud backups?

Yes, rclone is required if you want to upload OpenClaw archives to Google Drive. The bash script relies on rclone to handle the cloud storage upload parameters for your backup files.

Can I configure the backup destination for my OpenClaw tar.gz archives?

Yes, the OpenClaw backup destination is configurable. The bash script allows you to specify where timestamped tar.gz archives are saved before optionally uploading them to cloud storage.