restore.sh
bash
sha256:94f494a8f59e4b708ebb89e304209737ce34324a33aae83840a6f6b06d7b8d9d
docs: add domain-extensibility.md — the two-axis breadth/de…
Sonnet 5
2 days ago
| 1 | #!/usr/bin/env bash |
| 2 | # restore.sh — restore a canonical repo from a snapshot-store.sh or |
| 3 | # backup-bundle.sh backup. Refuses to overwrite a currently-healthy |
| 4 | # canonical repo unless --force is passed. See #185 Phase 5. |
| 5 | # |
| 6 | # Usage: |
| 7 | # restore.sh <repo> --from-snapshot <name> [--force] |
| 8 | # restore.sh <repo> --from-bundle <name> [--force] |
| 9 | set -euo pipefail |
| 10 | exec python3 "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/backup.py" restore "$@" |
File History
1 commit
sha256:94f494a8f59e4b708ebb89e304209737ce34324a33aae83840a6f6b06d7b8d9d
docs: add domain-extensibility.md — the two-axis breadth/de…
Sonnet 5
2 days ago