summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-03-11 14:59:09 -0700
committerThomas Groman <tgroman@nuegia.net>2020-03-11 14:59:09 -0700
commit279849b009fb0835bed5dbf8c9f9c281a152b9de (patch)
tree5850e107ec5156a87b74a3e54309446801dabaa3
parent753ad76f5f32ace36a7686936b76caf296c7ff65 (diff)
downloadrestic_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-xcheckups.d/backblaze.sh5
-rwxr-xr-xcheckups.d/linode.sh5
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