I’ve got my Duplicati (docker - version 2.0.7.1_beta_2023-05-25) setup and running to backup my OMV data into Backblaze B2. That’s all fine, and the backup runs for several hours, but I’ve so far yet to get a successful firat backup - it seems to fail for a variety of reasons (which look like transient B2 issues to me).
I’ve got two backup jobs, the one I’m concentrating on is something like 230254 files (500.71 GB). After several attempts, I’ve got 76GB into B2, across 2900 files (with a volume size of 50MB).
First example:
System.AggregateException: One or more errors occurred. (Connection reset by peer (Connection reset by peer) (One or more errors occurred. (Connection reset by peer))) ---> System.AggregateException: Connection reset by peer (Connection reset by peer) (One or more errors occurred. (Connection reset by peer)) ---> System.Net.Sockets.SocketException: Connection reset by peer
I’ve looked through the stack trace and can’t see the hostname (I’m guessing it was a B2 server though). I’d imagine this was recoverable but there’s no mention of sleeping or doing retries.
The next example:
System.AggregateException: One or more errors occurred. (503 - service_unavailable: no tomes available (503 - service_unavailable: no tomes available) (One or more errors occurred. (503 - service_unavailable: no tomes available))) ---> System.AggregateException: 503 - service_unavailable: no tomes available (503 - service_unavailable: no tomes available) (One or more errors occurred. (503 - service_unavailable: no tomes available)) ---> System.Exception: 503 - service_unavailable: no tomes available
This one’s actually documented at Backblaze (Why You Are Getting a B2 503 or 500 Server Error and What to Do Next) - and is recoverable. They just say to retry until it works.
So my question is… does Duplicati’s B2 driver retry, if so, how can I configure it to maybe sleep and retry a little longer before the backup fails?
(I can supply the full backtraces for these errors, if that would help?)