-
Notifications
You must be signed in to change notification settings - Fork 0
Recovery
Jonatan edited this page Aug 9, 2026
·
1 revision
Recovery is provider-specific and must be exercised with the host’s real retention, encryption, storage, RPO, and RTO requirements.
The controlled repository drill:
- quiesces the test host;
- runs
wal_checkpoint(TRUNCATE); - verifies
PRAGMA integrity_check; - copies the main database file;
- restores it;
- verifies integrity again;
- proves a verified account can sign in.
Run:
./scripts/recovery-drill.ps1 -RepositoryRoot $PWDA raw copy of only the main SQLite file is unsafe while writes or uncheckpointed WAL frames may exist.
The native recovery contract uses approved Windows tooling and an approved scratch database. It validates logical backup and restore, schema state, restricted operation, and authentication behavior.
Run the repository’s current command:
./scripts/postgres-recovery-drill.ps1 -RepositoryRoot $PWDThe connection string must remain protected and absent from retained evidence.
- Encrypt and restrict backups.
- Back up Data Protection keys with the application DB when protected payload continuity is required.
- Test restore, not only backup creation.
- Document retention, RPO, RTO, operator, reviewer, and completion evidence.
- Treat recovery failures as release or operational blockers.
SharpAccess · Windows · .NET 10 · PowerShell 7 · Repository · Security · License