From c564f4ef5a3365b78f5e3668037443e156158b00 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 9 Oct 2024 02:44:43 +0200 Subject: [PATCH] Update data vol sync --- nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh b/nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh index 8f3f7472..2f93aee4 100644 --- a/nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh +++ b/nixos/hosts/backups-rpi4/scripts/rsync-data-vol.sh @@ -41,7 +41,7 @@ if [[ $count -ge 4 ]] ; then fi # 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 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\"}"