Skip to main content

Snapshot

When a new node joins a network, it can use a snapshot — a compressed backup of the chain's data — to quickly synchronize with the current state. Snapshots expedite the process, reducing the need to download and verify every transaction from the beginning.

📘How to Use

Click on any snapshot to paste it into the code block.

info

Snapshots are taken every 6 hours.

# download a snapshot
curl <snapshot_url> | tar -Ilz4 -xf - -C $HOME/

sudo systemctl stop initiad

# make a backup
cp $HOME/.initia/data/priv_validator_state.json $HOME/.initia/priv_validator_state.json.backup

# reset your node and move a snapshot
rm -rf $HOME/.initia/data
mv home/node_initia_snapshots/.initia/data $HOME/.initia/

# replace the priv_validator_state.json you have backed up
mv $HOME/.initia/priv_validator_state.json.backup $HOME/.initia/data/priv_validator_state.json

sudo systemctl restart initiad && sudo journalctl -u initiad -f -o cat