jo
This commit is contained in:
@@ -2,7 +2,7 @@ version: '3.1'
|
||||
|
||||
services:
|
||||
erigon-mainnet-fullnode:
|
||||
image: thorax/erigon:${ERIGON_VERSION:-v2.58.1}
|
||||
image: thorax/erigon:${ERIGON_VERSION:-v2.59.0}
|
||||
user: root
|
||||
expose:
|
||||
- "16630"
|
||||
|
||||
@@ -3,7 +3,7 @@ version: '3.1'
|
||||
services:
|
||||
|
||||
erigon-gnosis-fullnode:
|
||||
image: thorax/erigon:${ERIGON_VERSION:-v2.58.1}
|
||||
image: thorax/erigon:${ERIGON_VERSION:-v2.59.0}
|
||||
user: root
|
||||
volumes:
|
||||
- "gnosis-fullnode_data:/datadir"
|
||||
|
||||
@@ -42,9 +42,12 @@ for key in $keys; do
|
||||
newest_file=$(ls -1 "$backup_dir"/"$volume_name"* | sort | tail -n 1)
|
||||
|
||||
if [ -z "$newest_file" ]; then
|
||||
|
||||
if [ -z "$2" ]; then
|
||||
echo "Error: No backup found for volume '$volume_name'"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
required_space=$(calculate_required_space "$(basename "$newest_file")")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user