Description: The mother of all OpenClaw backup skills - complete workflow from backup to fresh install to restore. Battle-tested in production with British dry humour and canine wisdom.
Status: ✅ PRODUCTION READY (Version 2.2)
# 1. Backup configurations (the important stuff)
tar -czf openclaw-config-backup-$(date +%Y%m%d).tar.gz ~/.openclaw/config/
# 2. Backup skills (your precious workflows)
tar -czf openclaw-skills-backup-$(date +%Y%m%d).tar.gz ~/.openclaw/skills/
# 3. Compare size vs package backup
du -sh ~/.openclaw/
# 1. Remove old installation (carefully!)
# WARNING: This is the point of no return
sudo systemctl stop openclaw
sudo apt remove openclaw -y
# 2. Fresh install
curl -sSL https://install.openclaw.ai | bash
# 3. Verify installation
openclaw --version
# 1. Restore configurations
tar -xzf openclaw-config-backup-*.tar.gz -C ~/
# 2. Restore skills
tar -xzf openclaw-skills-backup-*.tar.gz -C ~/
# 3. Verify everything works
openclaw --test-backup-restore
Symptoms: Tar extraction fails, checksums don't match
Solution: Always create dual backups, verify with tar -tzf
Symptoms: Can't write to directories after restore
Solution: Use sudo judiciously, check ownership with ls -la
Symptoms: Fresh install works but skills fail
Solution: Document all dependencies in skill metadata
Symptoms: Configs from old version break new version
Solution: Test with --dry-run flag first
```bash
tar -tzf openclaw-config-backup-*.tar.gz | head -5
tar -tzf openclaw-skills-backup-*.tar.gz | head -5
```
```bash
ls -la ~/.openclaw/config/
ls -la ~/.openclaw/skills/
```
```bash
openclaw --skill-list | grep -i "backup"
```
Canine Personas:
British Phrases:
This skill evolves with community use. Found a better way? Submit a PR!
HELL YEAH, backup mastered! 🎯
British dry humour + canine personas
Put that in your pipe and smoke it!
共 1 个版本