Claw Backup for Openclaw

A reliable backup and recovery utility for OpenClaw data that automates cloud syncing and archive retention.

vidarbrekke
v1.0.7
Feb 11, 2026
3
4.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install claw-backup

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install claw-backup using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Claw Backup?

Claw Backup is a specialized utility designed to protect the integrity of your AI agent environment by backing up memory, configurations, and workspaces. As a critical addition to your collection of Openclaw Skills, it ensures that custom agent behaviors and project data are preserved against local hardware failure or accidental deletion. The skill supports multiple operating systems and integrates deeply with rclone for secure cloud transfers.

This tool focuses on developer efficiency by automating the mundane task of data management. By capturing the state of the ~/.openclaw directory and local workspace modules, Claw Backup allows developers to synchronize their agent's context across different machines or restore a previous state with minimal friction.

Claw Backup Use Cases

  • Scheduling daily backups of Openclaw Skills memory and settings to Google Drive.
  • Synchronizing your AI coding environment between a desktop and a laptop.
  • Implementing a long-term data retention strategy for complex agent workspaces.
  • Creating portable snapshots of specific OpenClaw configurations before major updates.

How Claw Backup Works

  1. The utility scans pre-defined paths including clawd memory, the ~/.openclaw directory, and active workspace folders.
  2. It bundles these assets into a compressed archive while automatically excluding large, unnecessary directories like node_modules.
  3. A SHA-256 checksum is generated for each archive to ensure data integrity during transit or storage.
  4. The script interfaces with rclone to upload the archive to a remote destination or saves it to a local backup directory.
  5. It configures a system-level scheduler (cron, LaunchAgent, or Task Scheduler) to run the backup lifecycle automatically.
  6. Retention logic is applied to prune old backups based on a user-defined number of days or archive counts.

Claw Backup Setup

To get started with this skill, ensure you have Node.js and rclone installed on your system. Follow these steps to install and configure the utility:

git clone https://github.com/vidarbrekke/ClawBackup.git
cd ClawBackup
node setup.js

During the setup process, you will be prompted to select your backup paths and cloud remote. For those managing multiple Openclaw Skills, it is recommended to test the backup manually using the generated test command before enabling the automated scheduler.

Claw Backup Data Schema & Taxonomy

The skill organizes data into structured archives containing the following taxonomy:

Directory Contents Mapping
openclaw_config Skills, modules, and cron ~/.openclaw
clawd_memory Persistent agent memory clawd/memory
workspace_data Active project files Dev/CursorApps/clawd

Every archive includes a RESTORE_NOTES.txt file that explicitly maps files back to their original system locations for easy recovery.

Claw Backup Advanced Features

  • Support for rclone crypt to enable end-to-end encryption of your Openclaw Skills data in the cloud.
  • Cross-platform compatibility for Windows (via Git Bash/WSL), macOS, and Linux.
  • Configurable retention cycles that independently manage local and remote storage limits.
  • Automated integrity verification using SHA-256 checksums for every backup session.
  • Flexible upload modes allowing for local-only storage or direct cloud synchronization.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*