> For the complete documentation index, see [llms.txt](https://services.stakeandrelax.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.stakeandrelax.net/mainnet/osmosis/snapshot.md).

# Snapshot

## Snapshot

<figure><img src="https://raw.githubusercontent.com/StakeandRelax-Validator/documentation/main/Logos/osmosis.png" alt="" width="150"><figcaption></figcaption></figure>

**Chain ID**: osmosis-1 | **Latest Version Tag**: 31.0.0

{% hint style="info" %}
Snapshots allows a new node to join the network by recovering application state from a backup file. Snapshot contains compressed copy of chain data directory. To keep backup files as small as plausible, snapshot server is periodically beeing state-synced.
{% endhint %}

Snapshots are taken automatically every 24 hours

<https://snapshots.stakeandrelax.net/snapshots/osmosis/snapshot/snapshot\\_latest.tar.lz4>

### Instructions

#### Stop the service and reset the data

```bash
sudo systemctl stop osmosis
cp $HOME/.osmosisd/data/priv_validator_state.json $HOME/.osmosisd/priv_validator_state.json.backup
rm -rf $HOME/.osmosisd/data
```

#### Download latest snapshot

```bash
curl -L https://snapshots.stakeandrelax.net/snapshots/osmosis/snapshot_latest.tar.lz4 | tar -Ilz4 -xf - -C $HOME/.osmosisd
mv $HOME/.osmosisd/priv_validator_state.json.backup $HOME/.osmosisd/data/priv_validator_state.json
```

## Add seeds

```bash
sed -i -e "s|^seeds *=.*|seeds = \"d456cf939891e86d4ee9cf019e11b7150a890713@65.21.233.188:12556\"|" $HOME/.osmosisd/config/config.toml
```

#### Restart the service and check the log

```bash
sudo systemctl start osmosis && sudo journalctl -u osmosis -f --no-hostname -o cat
```
