Build a node and sync from block 900k gaia-8001 (backup file)

hello, i just made a backup file and the steps for sync from block +900k. in gaia -8001

Build the node first Time like=

#Install go
wget -c '' -O go1.10.3.linux-amd64.tar.gz

sudo tar -C /usr/local -xzf go1.10.3.linux-amd64.tar.gz

sudo rm -Rf go1.10.3.linux-amd64.tar.gz

#Set gopath
 vi $HOME/.profile

#Add this lines to your file:

#reload profile

source $HOME/.profile

#Download Cosmos 

go get

cd go/src/

git fetch --tags
git checkout v0.24.1
make get_vendor_deps  && make install

gaia init --name validatorian name

cd .gaiad/data

#If -bash: cd: data: Permission denied = 
sudo chown user:group data

#Remove default genesis file and down the good for gaia-8001. (today)

rm genesis.json

Get the good.
wget -c ' '

#Add seed nodes and persistent peers to config.toml and verify your Validatorian name is ok.

vi config.toml

seeds = “,,,”

gaiad start

wait for the blocks sync, (see you are in gaia-8001 ok)

stop gaiad

cd .gaiad 

sudo rm -r data/*


wget -c '' -O data.tar.gz

tar -xzf data.tar.gz

cp -r data/* $HOME/.gaiad/data

rm -rf data

rm data.tar.gz

start gaiad

have to start in the block +900k

here have to sync from block +900k.

After stop the first time , node sync block 100
Then rm the data and dump the backup file, like in the instrutions
have to sync from block +900k

if follow the steps all is working well.

My IPFS node works fine, this is the normal time to download the file.

For that if see the download is slow. stop and start again.


1 Like