You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pos/how-to/snapshots.md
+28-20Lines changed: 28 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,30 @@ comments: true
4
4
5
5
When setting up a new sentry, validator, or full node server, it is recommended that you use snapshots for faster syncing without having to sync over the network. Using snapshots will save you several days for both Heimdall and Bor.
6
6
7
+
## Community snapshots
8
+
9
+
With the [deprecation of Mumbai testnet](https://forum.polygon.technology/t/pos-tooling-after-mumbai-deprecation-no-action-required/13740), we're shifting to a community-driven model for snapshots where active members like Vault Staking, Stakepool, StakeCraft, and Girnaar Nodes will now provide snapshots. See [All4nodes.io](https://all4nodes.io/Polygon), an aggregator for Polygon community snapshots, for future community snapshots on the Sepolia-anchored Amoy testnet.
10
+
11
+
!!! tip "Older snapshots"
12
+
13
+
If you're looking for older snapshots, please visit [Polygon Chains Snapshots](https://snapshot.polygon.technology/).
14
+
7
15
!!! note
8
16
9
17
We no longer support Bor archive snapshots due to unsustainable data growth.
10
18
11
-
!!!tip
12
-
13
-
For the latest snapshot, please visit [<ins>Polygon Chains Snapshots</ins>](https://snapshot.polygon.technology/).
19
+
## Downloading and using client snapshots
14
20
21
+
!!! warning "Mumbai testnet now deprecated"
15
22
16
-
## Client snapshots
23
+
Mumbai testnet is no longer supported. [Existing snapshots](https://snapshot.polygon.technology/), however, will still be available for the users who rely on them.
17
24
18
25
To begin, ensure that your node environment meets the **prerequisites** outlined [here](../how-to/full-node/full-node-binaries.md). Before starting any services, execute the shell script provided below. This script will download and extract the snapshot data, which allows for faster bootstrapping. In our example, we will be using an Ubuntu Linux m5d.4xlarge machine with an 8TB block device attached.
19
26
To transfer the correct chain data to your disk, follow these steps:
20
27
21
28
- All one has to do is specify the network ("mainnet" or "amoy") and client type ("heimdall" or "bor" or "erigon") of your desired snapshot and run the following command:
> This bash script automatically handles all download and extraction phases, as well as optimizing disk space by deleting already extracted files along the way.
41
+
!!! tip
42
+
43
+
This bash script automatically handles all download and extraction phases, as well as optimizing disk space by deleting already extracted files along the way.
34
44
35
45
-`--extract-dir` and `--validate-checksum` flags are optional.
36
46
- Consider using a Screen session to prevent accidental interruptions during the chaindata download and extraction process.
Once the extraction is complete, ensure that you update the datadir configuration of your client to point to the path where the extracted data is located. This ensures that the systemd services can correctly register the snapshot data when the client starts.
192
202
If you wish to preserve the default client configuration settings, you can use symbolic links (symlinks).
193
203
194
-
For example, let's say you have mounted your block device at `~/snapshots` and have downloaded and extracted the chaindata
195
-
for Heimdall into the directory `heimdall_extract`, and for Bor into the directory `bor_extract`. To ensure proper registration
196
-
of the extracted data when starting the Heimdall or Bor systemd services, you can use the following sample commands:
204
+
For example, let's say you have mounted your block device at `~/snapshots` and have downloaded and extracted the chaindata for Heimdall into the directory `heimdall_extract`, and for Bor into the directory `bor_extract`. To ensure proper registration of the extracted data when starting the Heimdall or Bor systemd services, you can use the following sample commands:
197
205
198
206
```bash
199
-
# remove any existing datadirs for heimdall and bor
207
+
# remove any existing datadirs for Heimdall and Bor
0 commit comments