Install
openclaw skills install oc-migratorFull OpenClaw backup, restore, and migration between machines. Export your entire setup (config, workspace, memory, skills, cron jobs) into a single encrypted archive. Restore on any machine with one command. Use when: migrating to new hardware, setting up a backup machine, disaster recovery, or cloning your agent setup.
openclaw skills install oc-migratorBackup, restore, and migrate your entire OpenClaw setup between machines. One command to export, one command to restore.
# Full export (creates encrypted .tar.gz.enc)
bash scripts/migrate.sh export
# Full export without encryption
bash scripts/migrate.sh export --no-encrypt
# Restore from backup
bash scripts/migrate.sh restore <backup-file>
# List what would be exported (dry run)
bash scripts/migrate.sh export --dry-run
# Export only specific components
bash scripts/migrate.sh export --only config,memory,skills
| Component | Path | Included |
|---|---|---|
| Global config | ~/.openclaw/openclaw.json | ✅ |
| Agent config | ~/.openclaw/agents/ | ✅ |
| Workspace files | ~/.openclaw/workspace/*.md | ✅ |
| Memory | ~/.openclaw/workspace/memory/ | ✅ |
| Knowledge | ~/.openclaw/workspace/knowledge/ | ✅ |
| Learnings | ~/.openclaw/workspace/.learnings/ | ✅ |
| Scripts | ~/.openclaw/workspace/scripts/ | ✅ |
| Skills (workspace) | ~/.openclaw/workspace/skills/ | ✅ |
| Cron jobs | via openclaw cron list --json | ✅ |
| Conversations | ~/.openclaw/workspace/memory/conversations/ | Optional |
bash scripts/migrate.sh restore <backup-file>openclaw gateway restartopenclaw status