Failed to reset error

Hi,

I am trying to backup fiels to Backblaze. Backing up startet. I shutdown the Windows 10 computer and I intended to resume backup the next day.

Backup did not resume because I see this error:

Connection to Backblaze works:

When I try to stop the backup by clicking on “Stop Now”:

Nothing improves:

Log shows:

Settings are:
–snapshot-policy=On
–usn-policy=On
–send-mail-level=Warning,Error,Fatal
–send-mail-to=[redacted]
–send-mail-subject=%PARSEDRESULT%: Duplicati %OPERATIONNAME% report for %backup-name%
–send-mail-body=%RESULT%
–backup-test-samples=10

Error log in section “About” shows:

Sep 17, 2021 9:22 PM: Fatal error
{"ClassName":"System.AggregateException","Message":"One or more errors occurred.","Data":null,"InnerException":{"ClassName":"System.Net.WebException","Message":"The remote name could not be resolved: 'api.backblazeb2.com'","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at Duplicati.Library.Utility.AsyncHttpRequest.AsyncWrapper.GetResponseOrStream()\r\n   at Duplicati.Library.Utility.AsyncHttpRequest.GetResponse()\r\n   at Duplicati.Library.Backend.Backblaze.B2AuthHelper.get_Config()\r\n   at Duplicati.Library.Backend.Backblaze.B2.List()\r\n   at Duplicati.Library.Backend.Backblaze.B2.<PutAsync>d__28.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoPut>d__24.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass20_0.<<UploadFileAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__21.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__21.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadFileAsync>d__20.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadBlockAndIndexAsync>d__18.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nGetResponseOrStream\nDuplicati.Library.Utility, Version=2.0.6.3, Culture=neutral, PublicKeyToken=null\nDuplicati.Library.Utility.AsyncHttpRequest+AsyncWrapper\nSystem.Object GetResponseOrStream()","HResult":-2146233079,"Source":"Duplicati.Library.Utility","WatsonBuckets":null},"HelpURL":null,"StackTraceString":"   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<<Run>b__13_0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<<Run>b__13_0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at CoCoL.AutomationExtensions.<RunTask>d__10`1.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.BackupHandler.<FlushBackend>d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.BackupHandler.<RunAsync>d__20.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nMoveNext\nDuplicati.Library.Main, Version=2.0.6.3, Culture=neutral, PublicKeyToken=null\nDuplicati.Library.Main.Operation.Backup.BackendUploader+<<Run>b__13_0>d\nVoid MoveNext()","HResult":-2146233088,"Source":"Duplicati.Library.Main","WatsonBuckets":null,"InnerExceptions":[{"ClassName":"System.Net.WebException","Message":"The remote name could not be resolved: 'api.backblazeb2.com'","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at Duplicati.Library.Utility.AsyncHttpRequest.AsyncWrapper.GetResponseOrStream()\r\n   at Duplicati.Library.Utility.AsyncHttpRequest.GetResponse()\r\n   at Duplicati.Library.Backend.Backblaze.B2AuthHelper.get_Config()\r\n   at Duplicati.Library.Backend.Backblaze.B2.List()\r\n   at Duplicati.Library.Backend.Backblaze.B2.<PutAsync>d__28.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoPut>d__24.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass20_0.<<UploadFileAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__21.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__21.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadFileAsync>d__20.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadBlockAndIndexAsync>d__18.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nGetResponseOrStream\nDuplicati.Library.Utility, Version=2.0.6.3, Culture=neutral, PublicKeyToken=null\nDuplicati.Library.Utility.AsyncHttpRequest+AsyncWrapper\nSystem.Object GetResponseOrStream()","HResult":-2146233079,"Source":"Duplicati.Library.Utility","WatsonBuckets":null},{"ClassName":"System.Net.WebException","Message":"The remote name could not be resolved: 'api.backblazeb2.com'","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at Duplicati.Library.Utility.AsyncHttpRequest.AsyncWrapper.GetResponseOrStream()\r\n   at Duplicati.Library.Utility.AsyncHttpRequest.GetResponse()\r\n   at Duplicati.Library.Backend.Backblaze.B2AuthHelper.get_Config()\r\n   at Duplicati.Library.Backend.Backblaze.B2.List()\r\n   at Duplicati.Library.Backend.Backblaze.B2.<PutAsync>d__28.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoPut>d__24.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<>c__DisplayClass20_0.<<UploadFileAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__21.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<DoWithRetry>d__21.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadFileAsync>d__20.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Duplicati.Library.Main.Operation.Backup.BackendUploader.<UploadBlockAndIndexAsync>d__18.MoveNext()","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nGetResponseOrStream\nDuplicati.Library.Utility, Version=2.0.6.3, Culture=neutral, PublicKeyToken=null\nDuplicati.Library.Utility.AsyncHttpRequest+AsyncWrapper\nSystem.Object GetResponseOrStream()","HResult":-2146233079,"Source":"Duplicati.Library.Utility","WatsonBuckets":null}]}

It’s a bit safer to not shut down in the middle of a backup, but I don’t know a direct tie to the resume issue.
What “should” happen is it should upload a synthetic backup “version” with what was done pre-shutdown.
After that, it should just continue, and you should get the usual flow of dblock and dindex, finally a dlist.

Sep 17, 2021 9:22 PM: Fatal error
{“ClassName”:“System.AggregateException”,“Message”:“One or more errors occurred.”,“Data”:null,“InnerException”:{“ClassName”:“System.Net.WebException”,“Message”:“The remote name could not be resolved: ‘api.backblazeb2.com’”

says DNS wasn’t working on an essential name at that time. I don’t know how Test connection worked.
Calling the API shows that the remote name that didn’t resolve is used to get authorized to Backblaze B2.

The 9:20 and 9:21 Remote log you show looks a little off. If things were actually uploading, there would be files with dindex in the name, not just a stream of dblock. But I can’t see the whole thing, just a tiny bit…

Are all of these times from when you resumed the backup the next day? Does B2 web UI show new files?

If problem is reproducible, you can get a different (better?) view using About → Show log → Live → Retry.

Regarding the DNS, is there anything special about your setup, e.g. security software, network gear, etc.?

Yes

B2 web UI shows

I am running pi-hole with DoH and cloudflared over port 5053. Port 53 is blocked in the router to ensure that all DNS traffic is encrypted and uses port 5053.
Backblaze can be blacklisted by clicking the button “Blacklist” so that means domain backblaze is not blacklisted:

The remote name could not be resolved: ‘pod-031-2008-16.backblaze.com’ from the live log is another DNS failure. This is a later step in the upload sequence, described in the Backblaze article cited before.

Does your pi-hole log go far back enough that you can line up Duplicati DNS errors with the pi-hole log? What you really want might not be blacklist information, but information on why the remote name fails…
I see some “Retried” messages in the log. Is it possible that retries ran out? Is retry policy configurable?

The “pod-*” names will probably vary (per Backblaze design), however the “api” ones should be stable.

I don’t use a pi-hole, but I see documentation that a block still resolves the name, but to a false address.
The error message here sounds more like failure to return an address, which would be a different case.

I could disable pihole and allow port 53 in the router. But how do I stop the back up?

A click on “Stop now” does not have any effect.

Although it’s not the safest thing to do, probably go into Task Manager and kill both Duplicati processes.
Restarting Windows will also stop it. At restart, a backup that missed its schedule will be started again.

I’m not familiar with the code, but usually the message comes out like the first one below, which at least lets you know that “now” is not as “now” as one might want, but is at least faster than waiting for current source file (seen on home page near its progress bar) to be processed all the way through to its upload

You got the second version though…