Xpersona
O

OpenClaw Backup

CLAWHUB · Unverified

Backup 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. Skill: OpenClaw Backup Owner: alex3alex Summary: Backup 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. Tags: latest:1.0.0 Version history: v1.0.0 | 2026-02-07T14:53:17.563Z | user Initial release: backup script with rotation, restore guide, cron integrati

62
Rank
84
Safety
35k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 35.2K downloads reported by the source. Last updated 11/16/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s1783h3w81atynsshdfphbzm09884x3y:openclaw-backup
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-alex3alex-openclaw-backup-w-backup-2/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

5,089 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: openclaw-backup
description: Backup 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.
---

# OpenClaw Backup

Backup and restore OpenClaw configuration, credentials, and workspace.

## Create Backup

Run the backup script:

```bash
./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 config
- `credentials/` — API keys, tokens
- `agents/` — agent configs, auth profiles
- `workspace/` — memory, SOUL.md, user files
- `telegram/` — session data
- `cron/` — scheduled tasks

## Excluded

- `completions/` — cache, regenerated automatically
- `*.log` — logs

## Setup Daily Backup with Cron

Use OpenClaw cron for daily backups with notification:

```json
{
  "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](references/restore.md) for step-by-step restore instructions.

Quick restore:

```bash
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.

_meta.json

{
  "ownerId": "kn767bpva5fcrrd9hhxcjnfnns80pzhp",
  "slug": "openclaw-backup",
  "version": "1.0.0",
  "publishedAt": 1770475997563
}

references/restore.md

# Restore OpenClaw from Backup

## Quick Restore

```bash
# 1. Stop OpenClaw
openclaw gateway stop

# 2. Backup current (safety)
mv ~/.openclaw ~/.openclaw-old

# 3. Extract backup
cd ~
tar -xzf ~/openclaw-backups/openclaw-YYYY-MM-DD_HHMM.tar.gz

# 4. Start OpenClaw
openclaw gateway start

# 5. Verify
openclaw status
```

## Rollback if Restore Fails

```bash
rm -rf ~/.openclaw
mv ~/.openclaw-old ~/.openclaw
openclaw gateway start
```

## What's in a Backup

```
~/.openclaw/
├── openclaw.json      # Main config
├── credentials/       # API keys, tokens
├── agents/            # Agent configs, auth
├── workspace/         # Memory, SOUL.md, files
├── telegram/          # Telegram session
└── cron/              # Scheduled tasks
```

## Excluded from Backup

- `completions/` — API response cache (regenerated)
- `*.log` — Log files

skill-card.md

## Description:

Backup 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.

This skill is ready for commercial/non-commercial use.

## Publisher:

[alex3alex](https://clawhub.ai/user/alex3alex)

### License/Terms of Use:


## Use Case:

Developers and OpenClaw users use this skill to create and rotate local backups of ~/.openclaw, configure scheduled backups, and restore OpenClaw state from an archive.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Backups include credentials, API keys, tokens, and session data in plaintext archives.

Mitigation: Use only trusted local backup locations, restrict archive access, and consider encrypting backup archives.

Risk: Restore and rollback steps can overwrite or delete the active ~/.openclaw directory.

Mitigation: Verify backup contents first and make a separate safety copy of the current ~/.openclaw directory before running restore or rollback commands.

## Reference(s):

- [Restore OpenClaw from Backup](references/restore.md)

## Skill Output:

**Output Type(s):** [Text, Markdown, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown with inline bash and JSON code blocks]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include backup file paths, cron schedule examples, restore steps, and safety checks.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to OpenClaw Backup and adjacent AI workflows.