Update pbs-zfs-daily.sh

Bugfix damn sysop
This commit is contained in:
Chriz
2024-05-02 19:52:14 +02:00
committed by GitHub
parent 77437062f4
commit 47953639cb

View File

@@ -59,7 +59,7 @@ fi
### one Day is 86400 Seconds, so we going Condition grey if no new Status File will be pushed
echo ssh root@$SOURCEHOST vzdump --node $SOURCEHOSTNAME --storage $BACKUPSTORE --exclude $BACKUPEXCLUDE --mode snapshot --all 1 --notes-template '{{guestname}}'
ssh root@$SOURCEHOST vzdump --node $SOURCEHOSTNAME --storage $BACKUPSTORE --exclude $BACKUPEXCLUDE --mode snapshot --all 1 --notes-template '{{guestname}}'
if [ $? -eq 0 ]; then
echo command returned 0 is good