For the complete documentation index, see llms.txt. This page is also available as Markdown.

Snapshots

Bootstrap or recover Monad Mainnet state with the official snapshot procedure.

Mainnet · state recovery

Use this after fresh installation or when an explicit recovery requires rebuilding state. A hard reset replaces runtime chain data. It is not a routine upgrade step.

The upstream restoration utility selects the correct snapshot and TrieDB timeline format. This page keeps preparation, inspection, restoration and verification as separate commands.

Verify the device

Confirm the raw database points to the intended partition.

ls -l /dev/triedb

Back up configuration

Create a restricted backup directory.

install -m 0700 -d /opt/monad/backup

Save identity and configuration

Keep the environment and config together. This archive contains secrets.

tar -czf "/opt/monad/backup/config-$(date +%Y%m%d-%H%M%S).tar.gz" -C /home/monad .env monad-bft/config

Restrict backup permissions

Ensure only root can read the backup files.

Stop the services

Stop database access before restoration.

Inspect the packaged reset utility

Review the installed utility and paths before it changes runtime data.

Reset runtime state

Execute the official packaged reset step. It removes runtime chain data; verify its scope in the preceding step.

Download the Mainnet restore utility

Save the official utility for inspection.

Review restoration

Confirm the provider URLs, mainnet selection and database target.

Restore the snapshot

Run the reviewed upstream recovery utility and wait for successful completion.

Mainnet has activated MIP-8. Current recovery tooling builds a page timeline from a recent snapshot; do not apply an old slot-format restore command copied from a pre-fork guide.

Check the database

Verify the imported state and timeline.

Inspect remote metadata settings

Check that both runtime metadata URLs point to Mainnet.

Start

Start after successful restoration; configured remote metadata is fetched on startup.

Inspect synchronization

Look for statesync completion and new blocks.

Check RPC height

RPC becomes available after statesync completes.

Official recovery procedure · Storage-format migration.