Automatic snapshots of the blockchain state
List of snapshots:
https://snapshots.c29r3.xyz:
http://162.255.116.68/snapshots/ - privded by Min (Min#6706)
https://snapshots.stakecraft.com/ - provided by Alex Novy
http://snapshots.alexvalidator.com - Provided by Bambarello
https://services.staketab.com/ - provided by Staketab
https://snapshots.stake2.me/ - provided by Danil Ushakov
https://snapshot.notional.ventures/ - provided by Notional
Install requirements
sudo apt update && \
sudo apt install curl git docker.io -y
Clone github repo
git clone https://github.com/c29r3/cosmos-snapshots.git && cd cosmos-snapshots
Create folder for snapshots
mkdir $HOME/snapshots/
Start Nginx via docker
cd $HOME; \
docker run --name snapshots \
--restart always \
-v $(pwd)/default.conf:/etc/nginx/conf.d/default.conf \
-v $(pwd)/snapshots/:/root/ \
-p 80:80 \
-d nginx
Fill in the variables in the file akash_snapshot.sh
CHAIN_ID="akashnet-2"
SNAP_PATH="$HOME/snapshots/akash"
LOG_PATH="$HOME/snapshots/akash_log.txt"
DATA_PATH="$HOME/.akash/data/"
SERVICE_NAME="akash.service"
Create new snapshot
./akash_snapshot.sh
Check snapshot
MY_IP=$(curl -s 2ip.ru); \
curl -s http://${MY_IP}
You can add script to the cron
# start every day at 00:00
0 0 * * * /bin/bash -c '/root/akash_snapshot.sh'