Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,24 @@ Create a backup of OpenClaw configuration.
```

**Parameters:**
- `--scope <scope>` - Backup scope: `config`, `config+session`, `config+session+workspace`
- `--scope <scope>` - Backup scope: `config`, `config+session`, `config+session+workspace`, `minimal`
- `--source <source>` - Backup source: `direct` or `native`
- `--reason <reason>` - Optional reason for the backup

**Scope behavior:**

| Scope | Description |
|-------|-------------|
| `config` | Configuration only (openclaw.json, credentials) |
| `config+session` | Configuration + sessions directory |
| `config+session+workspace` | Full backup including workspace |
| `minimal` | Minimal — smallest footprint backup with essential metadata only |

**Source behavior:**
- `direct` reads OpenClaw files directly into OCBS chunk storage
- `native` runs `openclaw backup create`, extracts the archive, then imports it into OCBS chunk storage
- If the native CLI is unavailable, OCBS falls back to the direct source

**Scope notes:**
- `config` backs up OpenClaw configuration and credentials.
- `config+session` adds OpenClaw session state.
- `config+session+workspace` includes the full workspace.

### restore
Restore from a backup or checkpoint.

Expand Down Expand Up @@ -121,7 +125,7 @@ Run OpenClaw native backup (tar.gz archive with manifest) via OCBS skill.
```

**Parameters:**
- `--scope <scope>` - Backup scope: `config`, `config+session`, `config+session+workspace`
- `--scope <scope>` - Backup scope: `config`, `config+session`, `config+session+workspace`, `minimal`
- `--verify` - Verify archive after creation
- `--output <dir>` - Custom output directory (default: current directory)

Expand Down