Celestia is a modular data availability network that securely scales with the number of users, making it easy for anyone to launch their own blockchain.
Pruning snapshots are taken automatically every 12 hours
Guide
Preparation install the dependencies
sudo apt update
sudo apt install snapd -y
sudo snap install lz4
Stop service and clean the data
sudo systemctl stop celestia.service
cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
rm -rf $HOME/.celestia-app/data
or
celestia-appd tendermint unsafe-reset-all --home $HOME/.celestia-app --keep-addr-book
Download snapshot file
wget -O lasted_snapshot.tar.lz4 https://public-snapshot-storage-develop.s3.amazonaws.com/celestia/mocha-4/snapshots/fullnode/celestia_3957811.tar.lz4
sha256sum lasted_snapshot.tar.lz4 \\The result from checksum should be: ff3c64275de609a2a7b7859a7f666fd81b26f9465a2a9c4f733c5118e385fe1b
lz4 -c -d lasted_snapshot.tar.lz4 | tar -x -C $HOME/.celestia-app
Recovery private validator state (If you run a validator)
cp $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
Remove snapshot file
rm -v lasted_snapshot.tar.lz4
Start node and verify log
sudo systemctl restart celestia.service && sudo journalctl -u celestia.service -f --no-hostname