# Restoration Instructions ## Quick Restore ```bash # 1. Clone this repository git clone git@github.com:mrhavens/solaria-deep-backup.git cd solaria-deep-backup # 2. Find the latest backup ls -lt *.tar.gz | head -1 # 3. Extract to /home/solaria/ sudo tar -xzf solaria-deep-backup_20260214_190000.tar.gz -C / # 4. Restore git repos from bundle git bundle verify solaria-home_20260214_190000.bundle ``` ## Full System Restore If the server is completely lost: 1. Create a new Ubuntu 22.04+ server 2. Install required packages: ```bash sudo apt update sudo apt install -y git nodejs npm python3-pip ``` 3. Clone this repository 4. Extract the backup archive 5. Install OpenClaw: `npm install -g openclaw@latest` 6. Restore SSH keys: Copy from `.ssh/` to `~/.ssh/` 7. Restore OpenClaw: `openclaw onboard --install-daemon` 8. Restore workspace git repos from bundle ## Verification After restore, verify: - [ ] OpenClaw starts: `openclaw status` - [ ] Gateway accessible: `curl http://localhost:18789/status` - [ ] Git remotes work: `git remote -v` - [ ] SSH keys functional: `ssh -T git@github.com` - [ ] Cron jobs restored: `crontab -l` ## Important Files | Path | Description | |------|-------------| | `/home/solaria/.openclaw/openclaw.json` | Main OpenClaw configuration | | `/home/solaria/.ssh/` | SSH keys for git authentication | | `/home/solaria/.openclaw/workspace/` | Workspace with all files | | `/home/solaria/.npm-global/lib/node_modules/openclaw/` | OpenClaw installation | ## Troubleshooting ### Permission Errors ```bash sudo chown -R solaria:solaria /home/solaria ``` ### Git Permission Denied ```bash # Check SSH key ssh -T git@github.com # If failed, add key to ssh-agent ssh-add ~/.ssh/id_ed25519 ``` ### OpenClaw Won't Start ```bash # Check logs cat ~/.openclaw/reboot.log cat ~/.openclaw/watchdog.log # Restart daemon openclaw gateway restart ```