dePortal

v1.0

Celestia

Celestia is a modular data-availability (DA) network that makes it possible for anyone to launch their own blockchain securely.

Snapshots

Pruned

Pruned snapshots keep the recent state and prune old blocks. Recommended for most validator and full node setups where full historical data is not required.

ArchivalPruned

Status

Active

Block Height

1

Stop your node

Stop the Celestia node service before restoring from a pruned snapshot.

sudo systemctl stop celestia-appd
2

Backup validator state

Back up priv_validator_state.json so you can restore your validator signing state after the snapshot is applied.

cp $HOME/.celestia-app/data/priv_validator_state.json $HOME/.celestia-app/priv_validator_state.json.backup
3

Reset node data directory

Remove the existing data directory to prepare for the pruned snapshot.

rm -rf $HOME/.celestia-app/data
4

Download and restore the latest pruned snapshot

Stream the pruned snapshot, decompress it with lz4, and extract it directly into the Celestia app directory.

curl $SNAP | lz4 -dc - | tar -xf - -C $HOME/.celestia-app
5

Restore validator state

Move the backed-up validator state file back into the data directory.

mv $HOME/.celestia-app/priv_validator_state.json.backup $HOME/.celestia-app/data/priv_validator_state.json
6

Start your node and follow logs

Restart the node service and monitor logs to verify that the node starts successfully and begins syncing.

sudo systemctl restart celestia-appd && sudo journalctl -fu celestia-appd -o cat