Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 1.13 KB

Snapshot.md

File metadata and controls

40 lines (38 loc) · 1.13 KB

Snapshot User Guide

The node snapshot is taken once a day, at 03:00 UTC +2.

The snapshot is implemented through the tar archiver and compressed with lz4. To unpack the snapshot, it is necessary to install lz4.

sudo apt update
sudo apt install snapd -y
sudo snap install lz4

Download the snapshot:

wget -O AuraMain.tar.lz4 https://ytwofund.pro/snapshot/AuraMain/AuraMain.tar.lz4 --inet4-only

Stop the node:

systemctl stop aurad.service

Reset the node's data:

aurad tendermint unsafe-reset-all --home $HOME/.aura --keep-addr-book

Unpack the snapshot to the location of your database:

lz4 -c -d AuraMain.tar.lz4  | tar -x -C $HOME/.aura/data/

Restart the node:

systemctl restart aurad.service

Request the logs to make sure the node is working and synchronization has started:

sudo journalctl -u aurad -f

To save space, delete the downloaded snapshot:

rm -rf AuraMain.tar.lz4

If everything is done correctly, synchronization with the network will start, but it may take some time.

If you have any problems, please let us know at ytwofund@gmail.com.