snapshot


description: Catch the latest block faster by using our daily snapshots.

Snapshot

Cudos
Cudos

Snapshots allows a new node to join the network by recovering application state from a backup file. Snapshot contains compressed copy of chain data directory. To keep backup files as small as plausible, snapshot server is periodically beeing state-synced.

Snapshots are taken automatically every 12 hours

pruning: 107/0/13 | indexer: null | version tag: v1.1.0

BLOCKAGEDOWNLOAD

12097033

6 hours

Instructions

Quick setup

One liner to get moving quickly

sudo systemctl stop cudos-noded
cp $HOME/cudos-data/data/priv_validator_state.json $HOME/cudos-data/priv_validator_state.json.backup
rm -rf $HOME/cudos-data/data
curl -L https://snapshots.lavenderfive.com/snapshots/cudos/cudos_12097033.tar.lz4 | tar -Ilz4 -xf - -C $HOME/cudos-data
mv $HOME/cudos-data/priv_validator_state.json.backup $HOME/cudos-data/data/priv_validator_state.json
sudo systemctl start cudos-noded && sudo journalctl -u cudos-noded -f --no-hostname -o cat

Stop cudos-noded and reset the data

sudo systemctl stop cudos-noded
cp $HOME/cudos-data/data/priv_validator_state.json $HOME/cudos-data/priv_validator_state.json.backup
rm -rf $HOME/cudos-data/data

Download latest snapshot

curl -L https://snapshots.lavenderfive.com/snapshots/cudos/cudos_12097033.tar.lz4 | tar -Ilz4 -xf - -C $HOME/cudos-data
mv $HOME/cudos-data/priv_validator_state.json.backup $HOME/cudos-data/data/priv_validator_state.json

Restart cudos-noded and check the log

sudo systemctl start cudos-noded && sudo journalctl -u cudos-noded -f --no-hostname -o cat

Last updated