Snapshot
Recover Node from Snapshot
This guide will walk you through the process of recovering node using a snapshot.
Get Snapshot Info
curl https://testnet.snapshot.silentvalidator.com/celestia-mocha/snapshot/log.json
Stop node
sudo systemctl stop celestia-mocha
Back up validator state
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
Delete previous data
rm -rf $HOME/.celestia-app/data
Download snapshot
cd
https://testnet.snapshot.silentvalidator.com/celestia-mocha/snapshot/celestia-mocha_latest.tar.lz4
Decompress snapshot
lz4 -c -d celestia_snapshot.tar.lz4 | tar -xv -C $HOME/.celestia-app
Recover validator state
mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
Restart node
sudo systemctl restart celestia-mocha