mainnet | ghostnet | parisnet | quebecnet | qenanet | weeklynet |
---|---|---|---|---|---|
v20.3 | v20.3 | v20.2 | v21.0 | qena | |
full | full | full | full | full | - |
rolling | rolling | rolling | rolling | rolling | rolling |
archive | archive | - | - | - | - |
Download snapshots over HTTPS
For:
- network N (
mainnet
,ghostnet
, etc.), and - mode M (
full
orrolling
)
you can download the latest snapshot from:
https://snapshots.tzinit.org/N/M
Example: download and import a rolling snapshot over HTTPS using wget:
wget -O snapshot_file https://snapshots.tzinit.org/mainnet/rolling
octez-node snapshot import snapshot_file
Download snapshots from Google Cloud Storage
Download using the gcloud CLI (replace eu with us or asia if you are nearer):
gcloud storage cp gs://tf-snapshot-eu/N/M snapshot_file
Example: download and import a rolling snapshot using gcloud:
# Asia
gcloud storage cp gs://tf-snapshot-asia/mainnet/rolling snapshot_file
# Europe
gcloud storage cp gs://tf-snapshot-eu/mainnet/rolling snapshot_file
# US
gcloud storage cp gs://tf-snapshot-us/mainnet/rolling snapshot_file
# Import it
octez-node snapshot import snapshot_file
Set up Bakebuddy from a snapshot
Here we set up Bakebuddy from a rolling mainnet snapshot:
tezbake bootstrap-node https://snapshots.tzinit.org/mainnet/rolling
Mount the Google Cloud Storage using fuse
The storage buckets (e.g. gs://tf-snapshot-eu
) can be mounted using the fuse filesystem. This means you can use the snapshots without downloading them directly to your machine. Please see the GCS Fuse documentation for more details.
mount -t gcsfuse -o ro,anonymous-access,implicit-dirs tf-snapshot-eu /snap
octez-node snapshot import /snap/mainnet/full
Snapshot Information
Information about the snapshot including level and head block hash is available as a JSON file at:
https://snapshots.tzinit.org/N/M.json
or
gs://tf-snapshot-eu/N/M.json