Update pbs-zfs-daily.sh

Bugfix
This commit is contained in:
Chriz
2024-05-06 10:22:07 +02:00
committed by GitHub
parent c6945cf62c
commit dab4a21134

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 ### 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 if [ $? -eq 0 ]; then
echo command returned 0 is good echo command returned 0 is good