Snapshot(every six hours)
#Download bcna-testnet_snapshot.sh
wget https://snapshot-bcna-testnet.kjinc.io/bcna-testnet_snapshot.sh
#Make bcna_snapshot executable
chmod +x bcna-testnet_snapshot.sh
#Execute bcna_snapshot.sh
./bcna-testnet_snapshot.sh
#Delete the snapshot script
rm -v bcna-testnet_snapshot.sh
#Install lz4
sudo apt update
sudo apt install snapd -y
sudo snap install lz4
#Download snapshot
wget https://snapshot-bcna-testnet.kjinc.io/bcna-testnet_[block_num].tar.lz4
#Stop and reset your node
systemctl stop bcnad && bcnad tendermint unsafe-reset-all --home $HOME/.bcna --keep-addr-book
#Decompress snapshot
lz4 -c -d bcna-testnet_[block_num].tar.lz4 | tar -x -C $HOME/.bcna
#Restart your node and monitor
systemctl restart bcnad && journalctl -fu bcnad -o cat
#Remove the snapshot
rm -v bcna-testnet_[block_num].tar.lz4