Skip to main content

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: v1.4.0

Instructions​

Stop the service and reset the data​

sudo systemctl stop nibid.service
cp $HOME/.nibid/data/priv_validator_state.json $HOME/.nibid/priv_validator_state.json.backup
rm -rf $HOME/.nibid/data

Download latest snapshot​

curl -L https://snapshots.owlstake.com/cataclysm-1/snapshot_latest.tar.lz4 | tar -I lz4 -xf - -C $HOME/.nibid
mv $HOME/.nibid/priv_validator_state.json.backup $HOME/.nibid/data/priv_validator_state.json

Restart the service and check the log​

sudo systemctl start nibid.service && sudo journalctl -u nibid.service -f --no-hostname -o cat