@@ -48,8 +48,8 @@ You will need to stop both rollkit and reth-rollkit on the fullnode stack, accor
4848Example for docker-compose based setup:
4949``` bash
5050# Stop services in correct order
51- docker compose stop rollkit-evm-single
52- docker compose stop rollkit- reth
51+ docker compose stop fullnode
52+ docker compose stop reth-rollkit
5353
5454# Verify all containers are stopped
5555docker compose ps
@@ -59,7 +59,10 @@ docker compose ps
5959
6060``` bash
6161# Create backup directory
62- BACKUP_BASE_DIR=" "
62+ # Create backup directory
63+ # IMPORTANT: Set your backup base directory and reth-rollkit data directory paths
64+ BACKUP_BASE_DIR=" /path/to/backups"
65+ RETH_ROLLKIT_DATADIR=" /path/to/reth-rollkit/datadir"
6366mkdir -p " ${BACKUP_BASE_DIR} "
6467
6568# Set backup timestamp
@@ -74,7 +77,7 @@ sha256sum "${BACKUP_BASE_DIR}/reth_state_${BACKUP_DATE}.tar.zst" > "${BACKUP_BAS
7477
7578### 4. Restart services
7679
77- You will need to stop both rollkit and reth-rollkit on the fullnode stack, according to your setup.
80+ You will need to restart both rollkit and reth-rollkit on the fullnode stack, according to your setup.
7881
7982Example for docker-compose based setup:
8083``` bash
@@ -101,7 +104,7 @@ Add the following content
101104set -euo pipefail
102105
103106# Configuration
104- RETH_ROLLKIT_DATADIR=" "
107+ RETH_ROLLKIT_DATADIR=" " # IMPORTANT: Set this to your reth-rollkit data directory path
105108BACKUP_BASE_DIR=" ${BACKUP_BASE_DIR:-/ backup/ rollkit} "
106109REMOTE_BACKUP=" ${REMOTE_BACKUP:- backup-server:/ backups/ rollkit} "
107110RETENTION_DAYS=" ${RETENTION_DAYS:- 7} "
@@ -120,11 +123,12 @@ log() {
120123
121124check_sync_status () {
122125 # Check Rollkit node health
123- local rollkit_status=$( curl -sX POST \
126+ # Check Rollkit node health
127+ curl -fsX POST \
124128 -H " Content-Type: application/json" \
125129 -H " Connect-Protocol-Version: 1" \
126130 -d " {}" \
127- http://${FULLNODE_IP} :${FULLNODE_RPC_PORT} /rollkit.v1.HealthService/Livez)
131+ " http://${FULLNODE_IP} :${FULLNODE_RPC_PORT} /rollkit.v1.HealthService/Livez" > /dev/null
128132
129133 # Check reth sync status
130134 local sync_status=$( curl -sX POST \
0 commit comments