Database Snapshots
To decrease sync times, users may opt to download a Juno database snapshot. After downloading a snapshot and starting a Juno node, only recent blocks must be synced.
Mainnet
Version | Size | Block | Download Link |
---|---|---|---|
>=v0.6.0 | 121 GB | 449406 | juno_mainnet.tar |
Goerli
Version | Size | Block | Download Link |
---|---|---|---|
>=v0.6.0 | 41.4 GB | 911580 | juno_goerli.tar |
Run Juno Using Snapshot
-
Download Snapshot
Fetch a snapshot from one of the provided URLs:
wget -O juno_mainnet.tar https://juno-snapshots.nethermind.dev/mainnet/juno_mainnet_v0.7.5_449406.tar
-
Prepare Directory
Ensure you have a directory where you will store the snapshots. We will use
$HOME/snapshots
.mkdir -p $HOME/snapshots
-
Extract Tarball
Extract the contents of the
.tar
file:tar -xvf juno_mainnet.tar -C $HOME/snapshots
-
Run Juno
Execute the Docker command to run Juno, ensuring that you're using the correct snapshot path
$HOME/snapshots/juno_mainnet
:docker run -d \
--name juno \
-p 6060:6060 \
-v $HOME/snapshots/juno_mainnet:/var/lib/juno \
nethermind/juno \
--http \
--http-port 6060 \
--http-host 0.0.0.0 \
--db-path /var/lib/juno
After following these steps, Juno should be up and running on your machine, utilizing the provided snapshot.