Related: #89
TODO
Restore snapshot with docker (script):
# If you run your node with docker, please follow the statements below.
#You need ~ 10GB of free space for this
sudo apt-get install zip unzip
# download
wget http://testnet.snapshots.gny.io/v2_height_2134447_09-01-2021_19_00_13.zip
unzip v2_height_2134447_09-01-2021_19_00_13.zip
sudo docker-compose --file docker-compose.yml down
# make space
sudo docker volume prune --force
# get newest image (1.0.55)
sudo docker-compose --file docker-compose.yml pull
# restore
sudo docker-compose --file docker-compose.yml up --no-start
sudo docker-compose --file docker-compose.yml start db1
sleep 10s
cat v2_height_2134447_09-01-2021_19_00_13.sql | sudo docker exec -i db1 psql -U postgres
# start again
sudo docker-compose --file docker-compose.yml up --detach
Related: #89
TODO
Restore from snapshot. Which uses this script (posted below)testnet.snapshots.gny.ioor tomainnet.snapshots.gny.iolike in Add tabbed component that switches between mainnet/testnet/localnet #89testnet.snapshots.gny.ioor tomainnet.snapshots.gny.iolike in Add tabbed component that switches between mainnet/testnet/localnet #89Restore snapshot with docker (script):