Pruned Full Nodes Versus Archival Bitcoin Nodes
Purpose and deployment assumptions
A pruned node validates Bitcoin consensus but discards older block files; an archival node retains historical block data.
The configuration example supplied for this documentation is /etc/btc/bitcoin.conf, with one mainnet and one testnet3 process. The actual startup scripts, container service names, loaded config path and data mounts have not been independently inspected. Commands below are conditional examples, not an instruction to replace a proven deployment topology.
Inspect before changing anything
Run read-only inspection first. In a known Docker Compose project, docker compose ps and docker compose config --services show service names. For a known systemd unit, systemctl status UNIT identifies status. On a host, ps -ef | grep '[b]itcoind' helps locate running processes, but may not show container internals. Confirm the configuration actually loaded and which chain each process serves.
A sample read-only check, from the correct authenticated RPC environment, is bitcoin-cli -chain=main getblockchaininfo; testnet3 commonly uses bitcoin-cli -chain=test getblockchaininfo. Exact flags, credentials and container access vary. Do not expose RPC credentials in terminal history or published documentation.
Procedure
For an archival migration, plan disk capacity and a full history acquisition or validated restore. Changing to prune=0 alone cannot reconstruct missing blocks.
- Record current health, running services, chain identities, block heights, configuration checksum, free disk space and volume mounts.
- Make a timestamped backup of the actual loaded configuration; retain a rollback binary or image if rebuilding.
- Apply only the intended change in a maintenance window. Choose the existing service manager and actual service name; do not invent commands for unknown deployments.
- Recheck process health, RPC, chain synchronization, engine readiness and read-only wallet results.
- If checks fail, restore the previous configuration or artifact, restart via the same manager, and repeat verification.
Common failure modes
Confusing full validation with full history; assuming every API can access old transactions.
Safe operations for AI agents
Agents may collect read-only diagnostics, but production restart, rebuild, config edits, data moves and wallet sends should require explicit operator approval. Never delete volumes or blockchain data as an automatic repair. Never log BTC KEY, BTC SECRET or other wallet secrets.
Related ASK
Does prune=0 create a full archival Bitcoin node?
https://thamer.org/ask/bitcoin-engine-ops-prune-zero
Is a pruned Bitcoin Core node still a full validating node?
https://thamer.org/ask/bitcoin-engine-ops-full-node
