Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I came across this problem while I was configuring S3 backups for a clients website. Our clients server is located in Finland so it would be handy to have the backups stored in the EU (Ireland) bucket rather than moving the files all over to the US Standard bucket.
Comment | File | Size | Author |
---|---|---|---|
#2 | backup_migrate-select-an-endpoint-for-your-region-2567427-2-7.39.patch | 1.14 KB | salmino |
|
Comments
Comment #2
salmino CreditAttribution: salmino commentedMy solution is quite simple and it doesn't come with a fancy select list or anything like that for the GUI. Instead you just paste in the endpoint of your bucket or region and voilà—it should work.
Instead of setting the value property:
I'm setting the default_value property:
Here's the function that is being called to get the default_value property:
To find the endpoint for the region your bucket is located in: http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
Comment #3
couturier CreditAttribution: couturier as a volunteer commentedThis module may or may not need to be rewritten based on the newest 7.x-3.2 version.
Comment #4
DamienMcKennaLets see if the patch passes the tests.
Comment #5
DamienMcKennaMarking this a duplicate of #2404113: Different host for AWS type server, but salmino gets some credit for the patch.