Increase network connections to B2

This commit is contained in:
Erik Westrup
2018-11-24 13:27:59 +01:00
parent 380eea0f6c
commit ba732cb238
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -16,9 +16,11 @@ exit_hook() {
trap exit_hook INT TERM
source /etc/restic/b2_env.sh
# How many network connections to set up to B2. Default is 5.
B2_CONNECTIONS=50
# Remove locks from other stale processes to keep the automated backup running.
# NOTE nope, dont' unlock liek restic_backup.sh. restic_backup.sh should take preceedance over this script.
#restic unlock &
@@ -26,5 +28,6 @@ source /etc/restic/b2_env.sh
# Check repository for errors.
restic check \
--option b2.connections=$B2_CONNECTIONS \
--verbose &
wait $!