daypress
admin route/d-admin/backups · /d-admin/site-health
doc versionv1.0.4
reading time7 min read
section group31 · Hosting, Security & Ops
Docs/Hosting, Security & Ops
/d-admin/backups · /d-admin/site-health7 min readv1.0.4

Online WAL Backups, Self-Updater & 1.0 Site Health (doctor)

Daypress eliminates risky multi-moving-part upgrades and database dumps with zero-lock online SQLite snapshots, cryptographic SHA-256 binary hot-swapping, and a built-in 10-point production readiness verifier.

Online SQLite VACUUM INTO backups & export

Never copy a live SQLite file with raw cp while writes are in flight without including its -wal state. Instead, open Tools → Hot Backups (/d-admin/backups): clicking Create Online Snapshot executes SQLite's atomic VACUUM INTO 'backups/daypress-YYYYMMDD-HHMMSS.sqlite' while readers and writers continue uninterrupted—producing a compact, defragmented single-file snapshot you can download or restore in 1 click.

For portable cross-CMS archives, open Tools → Export (/d-admin/export) to download either a full Daypress JSON Bundle (/d-admin/export-json) or a standard WordPress WXR 1.2 XML file (/d-admin/export-wxr).

/d-admin/backups · Online SQLite VACUUM INTO Snapshots
Daypress Hot Backups screen showing atomic SQLite VACUUM INTO snapshot creation, file sizes, download links, and 1-click restore
Hot Backups (/d-admin/backups): create consistent, zero-downtime SQLite snapshots via VACUUM INTO and download off-box copies.

SHA-256 binary self-updater & 1-click rollback

Open Dashboard → Updates (/d-admin/update-core) to manage Daypress releases without SSH downtime:

  1. Daypress checks GitHub Releases every 24 hours (or on demand via POST /wp-json/daypress/v1/update/check) or accepts air-gapped .tar.gz / .zip uploads up to 250 MB.
  2. Before touching the executable, Daypress verifies the release archive against published SHA256SUMS and writes an automatic pre-update SQLite snapshot + previous binary backup into backups/.
  3. The binary is atomically swapped on disk; if a health check ever fails, click Roll Back Binary (POST /wp-json/daypress/v1/update/rollback) to restore the prior release immediately.

10-point 1.0 Site Health & Schema Contract v100

Open Tools → Site Health (/d-admin/site-health), call MCP daypress_security_audit, or run daypress doctor from the terminal to verify all 10 production security & stability invariants—including Argon2id admin credentials, SQLite PRAGMA integrity_check, WAL journal mode, secret entropy, SSRF webhook guards, Wasm Host ABI v1, and locked SQLite Schema Contract v100:

/d-admin/site-health · 10-Point Security Audit, Schema v100 & Benchmarks
Daypress Site Health screen displaying 10/10 Passed Security & Readiness Audit checks, Schema Contract v100 verification, and sub-millisecond p50/p95/p99 benchmarks
Site Health (/d-admin/site-health): run the 10-point 1.0 readiness audit, verify Schema Contract v100, and execute live latency benchmarks.

Reproducible 5-workload benchmark suite

Trigger the built-in benchmark harness in /d-admin/site-health, via MCP daypress_run_benchmark, or from the CLI to measure real p50 / p95 / p99 microsecond latencies on your hardware across Hot Cache hits, cold DayStudio SSR renders, FTS5 BM25 queries, REST v2 JSON serialization, and ACID post writes:

bash
# Run full 10-point readiness audit + 5-workload latency benchmark in JSON
./daypress doctor --db data/daypress.sqlite --benchmark --json