mirror of
https://github.com/bashclub/miyagi-pbs-zfs.git
synced 2025-12-06 06:28:43 +00:00
Update pbs-zfs-daily.sh
Bugfix damn sysop
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user