gabriel / muse public
restore.sh bash
10 lines 440 B
Raw
sha256:c606568badb1bd51b0da285b5c395370f5e6148b205cd3948de4113c5714ba70 feat: muse domain-info text output articulates every Domain… Sonnet 5 patch 25 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:c606568badb1bd51b0da285b5c395370f5e6148b205cd3948de4113c5714ba70 feat: muse domain-info text output articulates every Domain… Sonnet 5 patch 25 days ago