Saphan StudioDocs
Reference/Commands

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.

saphan restore --drill <backup-dir>
flagtypedefaultwhat it does
--drillboolfalseRestore into a scratch directory and prove the backup (required; restoring into a live installation is not offered).
--keepboolfalseLeave the scratch directory in place after the drill instead of removing it.

Global options apply to every command — see Every command.