Restore Stafi Node

Syncing your node from genesis as per the stafi docs can take at least a few days, which is why I built this solution to change this to hours.

Make sure you have completed the install first in the install section on the main menu before continuing below.

If you haven't already got a stafi node that has been previously installed yet you should follow the stafi guide to installing a node first before continuing. See https://docs.stafi.io/stafi-chain/network/participants/validator-sv/run-a-node for installing a node.

Restore node

This option will download the latest copy of the chain from https://snapshots.geordier.co.uk and also extract, then install and sync. Please be sure to have read the two red exclamation sections above before continuing.

$HOME/geordiertools/stafi-restores/restore.sh

If you have already downloaded the above previously into your downloads folder then you may add "nodownload" on to the end of the script (see next code snippet below. This will skip the downloading of the huge gz file part and just extract the latest copy from downloads.

Restore node - No download option

As explained in the node hint above, adding "nodownload" will skip downloading and just extract the latest copy in your downloads folder

$HOME/geordiertools/stafi-restores/restore.sh "nodownload"

Be aware: Downloads can be huge and use up A LOT of space. Be sure to remove any downloads you have finished with to minimise the space used. See the maintenance section on the menu for clearing downloads.

Last updated