Snapshot
note
Snapshots facilitate the integration of a new node into the network by restoring the application state from a backup file. These snapshots comprise compressed copies of the chain data directory. To maintain the compactness of backup files, the snapshot server undergoes periodic state synchronization processes.
Snapshots are taken automatically every 6 hours starting at 05:30 UTC
pruning: 100/0/19 | indexer: null | version tag: main
Instructionsโ
Stop the service and reset the dataโ
sudo systemctl stop mantrachaind.service
cp $HOME/.mantrachain/data/priv_validator_state.json $HOME/.mantrachain/priv_validator_state.json.backup
rm -rf $HOME/.mantrachain/data
Download latest snapshotโ
curl -L https://snapshots.owlstake.com/mantra-hongbai-1/snapshot_latest.tar.lz4 | tar -I lz4 -xf - -C $HOME/.mantrachain
mv $HOME/.mantrachain/priv_validator_state.json.backup $HOME/.mantrachain/data/priv_validator_state.json
Restart the service and check the logโ
sudo systemctl start mantrachaind.service && sudo journalctl -u mantrachaind.service -f --no-hostname -o cat