Last active
July 21, 2018 13:59
-
-
Save iammelea/33780a608e905f2c7ca9876c06d5a987 to your computer and use it in GitHub Desktop.
Polkadot Backup #798,671
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install Polkadot | |
curl https://sh.rustup.rs -sSf | sh | |
sudo apt install make clang pkg-config libssl-dev | |
#Then, install Polkadot PoC-2: | |
cargo install --git https://github.com/paritytech/polkadot.git --branch v0.2 polkadot | |
#Then start Polkadot for create the folders. | |
polkadot --telemetry --name 'π your own name here π' | |
#If you want to sync from the 0 block, no need do any more from this guide., You are done. and have your node running. Congratulations, go to Riot chat Polkadot and claim some TestDots. | |
#If you want to sync from block 798,671 continue this guide. | |
#If Polkadot start ok, STOP (CRTL +C) | |
#Open dir for Data base | |
cd .local/share/Polkadot/chains/krummelanke/ | |
#Delete the actual DB | |
sudo rm -r db/* | |
cd | |
#Download the data base to #798,671 Blocks | |
wget -c 'https://storage.googleapis.com/polkadot/db.tar.gz' -O db.tar.gz | |
#Descompress | |
tar -xzf db.tar.gz | |
#Copy to the right folder | |
cp -r db/* .local/share/Polkadot/chains/krummelanke/db | |
#Delete useless files. | |
sudo rm -rf db | |
rm db.tar.gz | |
#Start Polkadot with the new data base. | |
polkadot --telemetry --name 'π your own name here π' | |
#After this, your Polkadot POC-2 last block have to be 798,671. | |
#Enjoy Polkadot. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment