Skip to main content
ReferenceDraft ยท not yet verified

Archive

Where the archive is written, and the key that encrypts it.

SettingEngine defaultShippedWhat it does
ARCHIVE_ENABLEDfalsetrueWrites the archive
S3_ENDPOINT_URL, S3_BUCKET, S3_REGIONempty, empty, nyc3http://archive-store:8333, ememory-archive, us-east-1 (the bundled archive store)Where the archive lives
ARCHIVE_DIRemptyrequiredThe absolute path of the host folder the bundled archive store writes to. It is bind-mounted, so it must exist before the first start
S3_ACCESS_KEY, S3_SECRET_KEYemptyrequiredHow the engine reaches the archive
S3_KEY_PREFIXemptyโ€”A prefix for every object name, to share one bucket between stacks
ARCHIVE_KEYemptyrequiredThe archive encryption key (32 bytes, base64). Object bodies are encrypted with AES-256-GCM
ARCHIVE_READ_ONLYfalseโ€”Restores from the archive and never writes to it
RESTORE_FETCH_CONCURRENCY, RESTORE_FETCH_TIMEOUT_SECONDS16, 30โ€”How many archive objects a restore fetches at once, and how long one fetch may take