archive

command
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL