Archive-capable nodes must retain historical application state and indexes. A node bootstrapped from a state-sync snapshot does not have pre-snapshot historical state, so a full archive node must replay from genesis if it is expected to serve complete historical queries.

Archive configuration

Archive settings live in two files in the node home: app.toml and config.toml. Set the pruning strategy in app.toml:
"nothing" keeps all historic state and is the archive strategy. Do not add pruning-keep-recent or pruning-interval beside it: they apply only when the strategy is custom, so here they are inert and imply a retention limit the node never applies. Block retention is a separate control, also in app.toml:
0 prunes no blocks. It governs CometBFT block pruning only, not application state pruning. Retain historical ABCI responses and transaction indexes in config.toml:
Enable EVM historical indexing on archive RPC profiles in app.toml:
Keep CometBFT state sync disabled in config.toml:
[statesync] in config.toml controls whether this node bootstraps from a snapshot; an archive node must never do that. [state-sync] in app.toml controls the snapshots this node serves to other nodes, and is safe to enable here.
Do not run deploy.sh state-sync on an archive node. It wipes local data/, bootstraps from a snapshot, then re-disables [statesync] — leaving a config that reads correct on a node with no pre-snapshot history.

RPC and debug policy

The default public EVM namespace allowlist in app.toml is:
Archive sentry examples may include txpool. The full archive example includes debug, txpool, and personal, with EVM tracing configured in app.toml:
debug must also appear in the [json-rpc] api list for debug_traceTransaction to be reachable. Do not claim uniform txpool or debug tracing support unless the deployed node’s app.toml includes those namespaces.

Archive sizing and backups

Size archive hosts with at least 1 TB initial archive disk, expected archive growth of about 10 GB/month, and 2 TB recommended headroom. Run archive backups monthly and keep enough spare capacity for compaction, upgrades, logs, and backup staging.

Application alternatives

Most applications do not need an archive node. Use: