Skip to content

Snapshot

Vana banner

Latest snapshot: Block height 669955

  1. Install tool
    Terminal window
    sudo apt-get install wget lz4 aria2 pv -y
  2. Stop node:
    Terminal window
    cd ~/vana
    docker compose --profile init --profile validator down
  3. Download snapshot
    Terminal window
    cd ~
    aria2c -x16 -s16 https://vana.josephtran.co/vana_beacon_snapshot.lz4
    Terminal window
    aria2c -x16 -s16 https://vana.josephtran.co/vana_geth_snapshot.lz4
  4. Remove old data
    Terminal window
    sudo rm -rf ~/vana/data/execution/geth/chaindata
    sudo rm -rf ~/vana/data/consensus/beacondata/beaconchaindata
  5. Decompress snapshot
    Terminal window
    lz4 -dc ~/vana_geth_snapshot.lz4 | pv | sudo tar xvf - -C ~/vana/data/execution/geth/
    Terminal window
    lz4 -dc ~/vana_beacon_snapshot.lz4 | pv | sudo tar xvf - -C ~/vana/data/consensus/beacondata/
  6. Restart node
    Terminal window
    docker compose --profile init --profile validator up -d