Built and live (docs/ARTIFACTS.md, R11): nightly git bundles to R2 (g1t-backups) at 02:53 UTC, full then incremental, with a restore drill in scripts/ops/backup-restore-drill.mjs. The first run is 2026-10-08; the drill follows it.
[Scale] Nightly repository backups to R2 with a restore drill #117
Artifacts documents replication but no SLA, export or restore. Back up every repository nightly (incremental git bundles) to R2 from a container, and rehearse a restore.
Source: docs/ARTIFACTS.md (Cloudflare Artifacts due diligence, 2026-10-06). R11.
Repositories
No pull request for it here yet.
Discussion
Restore drill after the first nightly backup (2026-10-08, 02:56 UTC run): passed.
scripts/ops/backup-restore-drill.mjs --bundles on a read-only copy of g1t-backups, each repository rebuilt from its bundle chain and every ref compared with its manifest and with the live repository:
| Repository | Backup | Restored in | Refs |
|---|---|---|---|
| flagon-io/g1t | 8.6 MiB full | 0.7 s | 11 match |
| flagon-io/hello | 42 KB full | 0.4 s | 3 match |
| flagon-io/automation-lab | 17 KB full | 0.4 s | 7 match |
| flagon-io/lab-api | 1.9 KB full | 0.3 s | 4 match |
| g1t-reviewer/first-steps | 1.5 KB full | 0.4 s | 2 match |
Not exercised yet: no bundle reached the 32 MiB multipart part size (largest 8.6 MiB) and the run took about 12 s, so the 5-minute store credential was never near its end. Both need a repository over 32 MiB; the next drill after one exists covers them. The drill's own bucket read needs a token with R2 read (CLOUDFLARE_DEPLOY_TOKEN); the wrangler login has no R2 scope.
Sign in to comment.