Update data vol sync

This commit is contained in:
albert 2024-10-09 02:44:43 +02:00
parent 33550db1d3
commit c564f4ef5a
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -41,7 +41,7 @@ if [[ $count -ge 4 ]] ; then
fi fi
# Check if the Synology is mounted # Check if the Synology is mounted
check=$(ssh root@nuc-docker01 df -h | grep synology.servers.hs.net | wc -l) check=$(ssh root@nuc-docker01 df -h | grep 100.64.0.2 | wc -l)
if [[ $check != 1 ]] ; then if [[ $check != 1 ]] ; then
echo "Synology is not mounted on nuc-docker01: check returned $check" echo "Synology is not mounted on nuc-docker01: check returned $check"
payload="{\"message\": \"Backup stopped. Synology isn't mounted\nDate: `date`\", \"priority\": 2,\"title\": \"backups-rpi4: $BACKUP_NAME Backup Stopped\"}" payload="{\"message\": \"Backup stopped. Synology isn't mounted\nDate: `date`\", \"priority\": 2,\"title\": \"backups-rpi4: $BACKUP_NAME Backup Stopped\"}"