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