diff options
-rwxr-xr-x | checkups.d/backblaze.sh | 5 | ||||
-rwxr-xr-x | checkups.d/linode.sh | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/checkups.d/backblaze.sh b/checkups.d/backblaze.sh index 9581082..f83c86b 100755 --- a/checkups.d/backblaze.sh +++ b/checkups.d/backblaze.sh @@ -5,7 +5,7 @@ # Load restic variables -source /etc/restic.d/linode.conf +source /etc/restic.d/backblaze.conf # WARNING: Checking the backup integrity can be a costly procedure when using # cloud data storage. This is because in order to verify integrity we must @@ -29,7 +29,6 @@ counter=1 while [ "$counter" -le 255 ] ; do restic check \ "$RESTIC_COMMON_OPTS" \ - --read-data-subset="$counter""/""255" \ - --read-data + --read-data-subset="$counter""/""255" ((counter++)) done diff --git a/checkups.d/linode.sh b/checkups.d/linode.sh index 5bc4fbe..4def7ac 100755 --- a/checkups.d/linode.sh +++ b/checkups.d/linode.sh @@ -5,7 +5,7 @@ # Load restic variables -source /etc/restic.d/backblaze.conf +source /etc/restic.d/linode.conf # WARNING: Checking the backup integrity can be a costly procedure when using # cloud data storage. This is because in order to verify integrity we must @@ -29,7 +29,6 @@ counter=1 while [ "$counter" -le 255 ] ; do restic check \ "$RESTIC_COMMON_OPTS" \ - --read-data-subset="$counter""/""255" \ - --read-data + --read-data-subset="$counter""/""255" ((counter++)) done |