-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Not retrying to load config #5081
Copy link
Copy link
Closed
Labels
category: backendcategory: inittype: feature enhancementimproving existing featuresimproving existing features
Description
Output of restic version
restic 0.17.1 compiled with go1.23.1 on linux/amd64
What backend/service did you use to store the repository?
S3 on Scaleway
Problem description / Steps to reproduce
Scaleway recently introduced rate limits on their object storage service.
Running multiple restic backup in a row will result in:
Fatal: unable to open config file: Stat: Reduce your request rate.
Is there a repository at the following location?
s3:https://s3.fr-par.scw.cloud/<redacted>
Expected behavior
While Restic does retry network calls when reading and writing on network, it does not seem to be the case when opening configuration.
Actual behavior
Restic does not retry reading config, and fails immediately
Do you have any idea what may have caused this?
Lines 648 to 650 in efec1a5
| if err != nil { | |
| return nil, errors.Fatalf("unable to open config file: %v\nIs there a repository at the following location?\n%v", err, location.StripPassword(gopts.backends, s)) | |
| } |
Did restic help you today? Did it make you happy in any way?
Thank you for building an awesome, robust and free backup software! ❤️
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
category: backendcategory: inittype: feature enhancementimproving existing featuresimproving existing features