Increase network connections to B2
This commit is contained in:
@@ -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 $!
|
||||
|
||||
Reference in New Issue
Block a user