Problem
The restore tool exposes only a subset of flags; the safe, read-only -dry-run (restore-plan preview) and -integrity-check are unavailable. An assistant can't preview what a point-in-time restore would do without performing it.
Fix
- Add a read-only "restore plan / dry-run" tool built on
litestream.CalcRestorePlan (replica.go:1495) — given a path/URL + TXID/timestamp, return the ordered set of snapshot/LTX files that would be applied. Mark readOnlyHint.
- Surface
-integrity-check (none/quick/full) on the restore path.
Acceptance
An assistant can preview a point-in-time restore plan without mutating anything, and request an integrity check.
Cross-refs
After #1367 (uses in-process CalcRestorePlan).
Problem
The restore tool exposes only a subset of flags; the safe, read-only
-dry-run(restore-plan preview) and-integrity-checkare unavailable. An assistant can't preview what a point-in-time restore would do without performing it.Fix
litestream.CalcRestorePlan(replica.go:1495) — given a path/URL + TXID/timestamp, return the ordered set of snapshot/LTX files that would be applied. MarkreadOnlyHint.-integrity-check(none/quick/full) on the restore path.Acceptance
An assistant can preview a point-in-time restore plan without mutating anything, and request an integrity check.
Cross-refs
After #1367 (uses in-process
CalcRestorePlan).