← Back to Dashboard

Emergency Restore Procedure (GitHub)

Type: Disaster Recovery Updated: Feb 9, 2026 CRITICAL
WARNING: This procedure performs a HARD RESET. All local changes not pushed to GitHub will be permanently lost. Use only when the system is corrupted or unresponsive.

1. Connect to Container

Access the running Zeabur container via the Dashboard (Shell/Exec) or SSH.

2. Backup Current State (Optional but Recommended)

cd /home/node/.openclaw/workspace
tar -czf /tmp/broken_state_backup_$(date +%Y%m%d_%H%M%S).tar.gz .

3. Reset to GitHub State

Run the following commands to discard local changes and pull the latest stable version from GitHub:

# Fetch latest history
git fetch origin

# HARD RESET: Discard ALL local changes
git reset --hard origin/master

# Clean Untracked Files
git clean -fd

4. Restart Service

After files are restored, trigger a Redeploy or Restart from the Zeabur Dashboard to reload the configuration.

Repository Info