Initial backup 2026-02-17

This commit is contained in:
Krilly
2026-02-17 15:50:53 +00:00
commit 8902a93add
941 changed files with 131420 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Backup skill configuration
## Environment variables
- `OPENCLAW_HOME`: OpenClaw home path (default `~/.openclaw`)
- `OPENCLAW_BACKUP_DIR`: backup destination (default `~/.openclaw-backup`)
- `BACKUP_REPO_URL`: git repo for push (e.g., https://github.com/cccarv82/openclaw-backup.git)
- `BACKUP_CHANNEL_ID`: Discord channel id for notifications (optional)
- `BACKUP_TZ`: timezone (default America/Sao_Paulo)
- `BACKUP_MAX_HISTORY`: local history retention (default 7)
## Requirements
- Node.js >= 18
- git
- tar or zip (for workspace archive)
## Policies
- Excludes `media/inbound`
- Excludes `agents/main/sessions/*.jsonl.lock`
- Excludes `agents/main/sessions/*.jsonl.deleted.*`
- Workspace archive is split into parts (~90MB)
## Suggested cron
0 5,10,15,20 * * * (America/Sao_Paulo)
## Restore
Use the block generated in the backup notification.