Update pbs-zfs-daily.sh

--change-detection-mode metadata for faster backups
This commit is contained in:
Chriz
2024-12-31 10:51:08 +01:00
committed by GitHub
parent c3e665bdfd
commit 41d3e9a0ae

View File

@@ -106,7 +106,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
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}}' --change-detection-mode metadata
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo command returned 0 is good echo command returned 0 is good