# Snapshot

<figure><img src="https://pbs.twimg.com/profile_images/1655541754274119680/jPwIFpXf_400x400.png" alt="" width="188"><figcaption></figcaption></figure>

***

| Version | Chain-id             |
| ------- | -------------------- |
| v1.2.0  | entrypoint-pubtest-2 |

### Snapshot Guide

### Setup Server

```shell
# Install Necessary package
sudo apt update
sudo apt-get install snapd lz4 -y
```

```shell
# Stop the service and reset the data
sudo systemctl stop entrypointd
cp $HOME/.entrypoint/data/priv_validator_state.json $HOME/.entrypoint/priv_validator_state.json.backup
rm -rf $HOME/.entrypoint/data
```

```shell
# Download Latest Snapshot
curl -L https://snapshots.indonode.net/entrypoint/entrypoint-latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.entrypoint
mv $HOME/.entrypoint/priv_validator_state.json.backup $HOME/.entrypoint/data/priv_validator_state.json
```

```shell
# Restart Service
sudo systemctl restart entrypointd && sudo journalctl -fu entrypointd -o cat
```
