From eb0102bde9bfcffda482cc679c55abb007ce5dc2 Mon Sep 17 00:00:00 2001 From: Samuel Date: Wed, 18 Nov 2020 01:20:46 -0600 Subject: [PATCH] Limit network checking to only remote repos. By @samuel-w (#701) --- src/vorta/borg/create.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vorta/borg/create.py b/src/vorta/borg/create.py index 94427020..341ce15b 100644 --- a/src/vorta/borg/create.py +++ b/src/vorta/borg/create.py @@ -94,7 +94,8 @@ class BorgCreateThread(BorgThread): ret['message'] = trans_late('messages', 'Current Wifi is not allowed.') return ret - if profile.dont_run_on_metered_networks and network_status_monitor.is_network_metered(): + if profile.repo.is_remote_repo() and profile.dont_run_on_metered_networks \ + and network_status_monitor.is_network_metered(): ret['message'] = trans_late('messages', 'Not running backup over metered connection.') return ret