feat: complete WP-0002 T05 full restore and PITR
First Backup 48s. Full restore 65s (audit_core 30=30). PITR 65s after retarget (keep present, destroy absent). Scratch namespace deleted. Production stayed Ready.
This commit is contained in:
parent
d2b64929a3
commit
085c1534e0
5 changed files with 116 additions and 3 deletions
55
docs/evidence/RESOURCE-WP-0002-T05-restore-2026-08-14.json
Normal file
55
docs/evidence/RESOURCE-WP-0002-T05-restore-2026-08-14.json
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
"workplan": "RESOURCE-WP-0002-T05",
|
||||
"recorded_at": "2026-08-14T18:24:00Z",
|
||||
"mode": "production-s3",
|
||||
"target": "CNPG 1.25 / PostgreSQL 16.10 platform-pg on railiance01",
|
||||
"object_store": "s3://railiance-platform-pg-backup/platform-pg/ via https://s3.nl-ams.scw.cloud",
|
||||
"production_backup": "enabled; Backup platform-pg-daily-20260814181421 completed; ContinuousArchivingSuccess",
|
||||
"retention_policy": "30d",
|
||||
"single_consumer_restore": "physical restore is instance-wide; consumer counts compared on scratch clusters",
|
||||
"source": {
|
||||
"databases": ["audit_core", "isolation_probe", "platform_meta", "postgres"],
|
||||
"audit_core_events": 30,
|
||||
"events_append_only": 1,
|
||||
"pgdata_bytes_approx": 636485632
|
||||
},
|
||||
"first_backup": {
|
||||
"name": "platform-pg-daily-20260814181421",
|
||||
"elapsed_seconds": 48,
|
||||
"method": "barmanObjectStore",
|
||||
"verified": true
|
||||
},
|
||||
"full_restore": {
|
||||
"cluster": "platform-pg-restore-full",
|
||||
"namespace": "platform-pg-restore",
|
||||
"started_at": "2026-08-14T18:15:23Z",
|
||||
"ready_at": "2026-08-14T18:16:28Z",
|
||||
"elapsed_seconds": 65,
|
||||
"audit_core_events": 30,
|
||||
"events_append_only": 1,
|
||||
"isolation_ns": 2,
|
||||
"verified": true
|
||||
},
|
||||
"pitr": {
|
||||
"cluster": "platform-pg-restore-pitr",
|
||||
"namespace": "platform-pg-restore",
|
||||
"keep_at": "2026-08-14 18:16:54.128693+00",
|
||||
"destroy_at": "2026-08-14 18:17:11.932371+00",
|
||||
"target_time": "2026-08-14 18:16:55.128693+00",
|
||||
"started_at": "2026-08-14T18:22:06Z",
|
||||
"ready_at": "2026-08-14T18:23:11Z",
|
||||
"elapsed_seconds": 65,
|
||||
"markers": "keep",
|
||||
"audit_core_events": 30,
|
||||
"first_attempt": "failed: recovery ended before target 18:17:08 (WAL last txn 18:16:54); retargeted to 18:16:55",
|
||||
"verified": true
|
||||
},
|
||||
"archive": {
|
||||
"objects": 8,
|
||||
"bytes": 6604031,
|
||||
"prefix": "platform-pg/"
|
||||
},
|
||||
"rpo_notes": "archive_timeout is 5min; observed WAL archive after pg_switch_wal in about 2s",
|
||||
"provider_charges": "unknown this session; Scaleway usage-based, billing API denied to this key",
|
||||
"failures": 0
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue