diff options
author | Thomas Groman <tgroman@nuegia.net> | 2020-03-11 14:59:09 -0700 |
---|---|---|
committer | Thomas Groman <tgroman@nuegia.net> | 2020-03-11 14:59:09 -0700 |
commit | 279849b009fb0835bed5dbf8c9f9c281a152b9de (patch) | |
tree | 5850e107ec5156a87b74a3e54309446801dabaa3 | |
parent | 753ad76f5f32ace36a7686936b76caf296c7ff65 (diff) | |
download | restic_bootsrap-279849b009fb0835bed5dbf8c9f9c281a152b9de.tar restic_bootsrap-279849b009fb0835bed5dbf8c9f9c281a152b9de.tar.gz restic_bootsrap-279849b009fb0835bed5dbf8c9f9c281a152b9de.tar.lz restic_bootsrap-279849b009fb0835bed5dbf8c9f9c281a152b9de.tar.xz restic_bootsrap-279849b009fb0835bed5dbf8c9f9c281a152b9de.zip |
remove redundent read-data
-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 |