borgbackup / borgstore

experimental storage backend
Other
7 stars 3 forks source link

rclone backend: retry errors on load and store 3 times #56

Closed ncw closed 1 month ago

ncw commented 1 month ago

Rclone internally retries requests, but not ones which stream data, like load and store.

Since we have the data for load and store buffered in memory it is easy to retry them.

The rclone server returns 500 errors for backend errors or internet errors or protocol errors which might be fixed with a retry.

PS This is a followup from this comment https://github.com/borgbackup/borgstore/pull/46#issuecomment-2368089781

ThomasWaldmann commented 1 month ago

Thanks for the PR!

BTW, if you want to try borg "in action" with rclone, I just released borg 2.0.0b11 (python pypi packages + some fat binaries):

https://github.com/borgbackup/borg/releases/tag/2.0.0b11