Epic — v0.7 production-hardening, phase P3: Backup, Restore & PITR
Goal: an operator can take scheduled backups and restore to an exact point in time, verified.
High
Medium
Success: scheduled base snapshots + WAL archiver wired; restore replays to a target LSN/timestamp; end-to-end "base + WAL → restore to T, assert state == state@T" test passes.
Tracked in .planning/v1-production-readiness/AUDIT.md.
Epic — v0.7 production-hardening, phase P3: Backup, Restore & PITR
Goal: an operator can take scheduled backups and restore to an exact point in time, verified.
High
execute_restore,create_base_snapshot,WalArchiver,SnapshotCataloghave zero production callers; no base-snapshot task is scheduled;resolve_pitralways returnsNone. Reads as shipped but cannot be invoked. Replay also ignoresPitrTarget.replay_lsn(no upper bound).storage/snapshot_executor.rs,storage/snapshot.rs:147-174,wal/archiver.rs:233-250(filename parser also broken — expectswal-{first}-{last}.seg, real iswal-{lsn}.seg).Medium
warn!; truncation proceeds → hole in the archived stream → PITR continuity broken.checkpoint_manager.rs:214-217,336-388.snapshot_restore.rs:101-172.backup/restore/mod.rs:80-97.Success: scheduled base snapshots + WAL archiver wired; restore replays to a target LSN/timestamp; end-to-end "base + WAL → restore to T, assert state == state@T" test passes.
Tracked in
.planning/v1-production-readiness/AUDIT.md.