Skip to content

Snapshots

Snapshots provide a quick way to bootstrap your node’s state by downloading a pre-synchronized version of the blockchain data. This reduces the time and resources required to sync from the genesis block. Providers currently publish Mainnet, Testnet and Devnet snapshots for various use cases. Some snapshots are pruned (minimal historical data), others retain default state, and some include full historical archives for comprehensive analysis.

Snapshots

Peersyst snapshots are pruned nodes bootstrapped with state sync and regenerated daily. They contain recent state only, without historical blocks or state, so they are not suitable for archive or historical nodes.

Note: Always verify the authenticity and integrity of snapshots before using them. Third-party providers have their own update schedules, data policies and retention periods, and an archive can be older than the latest network upgrade. Check its date and block height before restoring, and run the binary that matches that height (see Networks). Refer to the provider’s documentation for instructions on how to use these snapshots and any associated terms of service.

Restore examples

Use the command set that matches the provider archive format.

Peersyst (.tar.lz4)

The archive contains a data/ folder that includes a priv_validator_state.json reset to height 0. Exclude it so your node keeps its own signer state:

cd ~/.exrpd
wget -O snapshot.tar.lz4 <snapshot_url>
tar -xI lz4 -f snapshot.tar.lz4 --exclude='data/priv_validator_state.json'

Cumulo (.tar.zst)

sudo apt update && sudo apt install -y aria2 zstd curl

SERVICE=exrpd.service
STATE=~/.exrpd/data/priv_validator_state.json
BACKUP=/tmp/priv_validator_state.json

sudo systemctl stop $SERVICE

if [ -f "$STATE" ]; then
	cp "$STATE" "$BACKUP"
fi

rm -rf ~/.exrpd/data && mkdir -p ~/.exrpd/data
cd ~/.exrpd
aria2c -x 16 -s 16 -k 1M --file-allocation=none -o snapshot.tar.zst "https://xrpl.cumulo.com.es/snapshots/latest_xrpl_snapshot.tar.zst"
zstd -t snapshot.tar.zst
tar --use-compress-program=zstd -xf snapshot.tar.zst -C ~/.exrpd/data
rm -f snapshot.tar.zst

if [ -f "$BACKUP" ]; then
	mv "$BACKUP" "$STATE"
fi

sudo systemctl start $SERVICE
Validator signer safety

Restore priv_validator_state.json after extraction when replacing data, and keep only one active validator signer for the same priv_validator_key.json.

If integrity check fails (zstd -t or tar extraction errors such as Unexpected EOF), delete the archive and download it again before extracting.