Bootstrap from a Snapshot
This document describes how to bootstrap an Aptos node quickly using a snapshot. This can be done on all node types, including validators, VFNs and PFNs.
Although you can bootstrap a new node using state sync, this might not be the fastest approach after the network has been running for a while; it can either take too much time, or it won’t be able to fetch all the required data since other nodes may have already pruned their ledger history. To avoid this, you can bootstrap your node using an existing snapshot, which is simply a copy of the storage data of an existing node.
Find an existing snapshot
There are a number of snapshots that can be downloaded from different Aptos community members. These include:
BWareLabs (Testnet and Mainnet): BWareLabs Aptos Node Snapshots
Polkachu (Mainnet): Polkachu Aptos Node Snapshots
Use a snapshot
To use a snapshot, simply download and copy the files to the location of the storage database for your node. This location can be found and updated in the fullnode yaml
configuration file under data_dir
. See the example tutorial (Run a PFN) for how to configure the data directory.
Last updated
Was this helpful?