Documentation
¶
Overview ¶
Command archive runs the cold archive worker: it moves old event payloads from the Postgres `events.canonical_json` column into the S3-compatible bucket, reclaiming database space while preserving all cryptographic proofs (content_hash stays in place).
The worker is safe to run repeatedly and on any schedule. By default it looks for events older than EVENTS_HOT_RETENTION_DAYS (default 90) and processes up to ARCHIVE_BATCH_SIZE (default 1000) events per pass.
Click to show internal directories.
Click to hide internal directories.