-
-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Is your feature request related to a problem? Please describe.
I had the problem in the past (and lately again) to move data from one S3 provider to another (or from one bucket to another) while services are using them without interruption.
Migrating the data is out of scope, I usually just set up a cron job that moves data to the new destination using s3sync.
The problem, which s3-proxy could help solve, is that you have to coordinate switching consumers from old to new s3 location without experiencing interruptions.
Describe the solution you'd like
S3-proxy could allow mapping a resource to a list of mounted backend buckets (e.g. new location first, old location second). If an object is not available at the first bucket (new), the request is retried at the second backend location (old). The request only fails if the object is not resolved at the end of the list of configured buckets.
This would facilitate uninterrupted migrations at the cost of eventually slightly longer response times.