saphan restore
Proves that a backup can be restored: it checks every checksum, size and count in the manifest, restores the backup into a fresh scratch directory, starts a gateway there on a local port with no outbo
Proves that a backup can be restored: it checks every checksum, size and count in the manifest, restores the backup into a fresh scratch directory, starts a gateway there on a local port with no outbound connections, and asks it for one read. It prints PASS or the first mismatch, lists the pieces that did not apply, and never touches the live installation. Give it one backup, or the backup directory to use the newest good backup in it.
| flag | type | default | what it does |
|---|---|---|---|
--drill | bool | false | Restore into a scratch directory and prove the backup (required; restoring into a live installation is not offered). |
--keep | bool | false | Leave the scratch directory in place after the drill instead of removing it. |
Global options apply to every command — see Every command.
saphan relay
Records requests between masters — the coordinating sessions that each run a set of streams — when one master's streams cannot finish without an answer from another.
saphan return
Brings a stream's results home from the run that worked on it — its status file into the stream's local channel, its committed branch into this workspace's repository, and for a review run the reviewe