Spaces:
Sleeping
Sleeping
Download scripts/openclaw-restore.sh from Moxintel/agent: direct link, hf CLI and curl.
- Browser
- Download file 285 Bytes
-
https://huggingface.co/spaces/Moxintel/agent/resolve/main/scripts/openclaw-restore.sh
- Command line
-
hf download hf://spaces/Moxintel/agent/scripts/openclaw-restore.sh
-
curl -L -o openclaw-restore.sh https://huggingface.co/spaces/Moxintel/agent/resolve/main/scripts/openclaw-restore.sh
285 Bytes
| set -euo pipefail | |
| BACKUP_ENV_FILE_PATH="${OPENCLAW_BACKUP_ENV_FILE_PATH:-/etc/openclaw-backup.env}" | |
| if [[ -f "$BACKUP_ENV_FILE_PATH" ]]; then | |
| # shellcheck disable=SC1091 | |
| source "$BACKUP_ENV_FILE_PATH" | |
| fi | |
| python3 /opt/openclaw-hf/openclaw_hf/backup.py restore | |