From 89f56ba0452de4360625e0d4193a6e93bdfa8bd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Armando=20L=C3=BCscher?= Date: Sun, 21 Jul 2019 09:47:39 +0200 Subject: [PATCH] Update S3 destinations with new locations, fix Scaleway region requirements. --- inc/class-s3-destination.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/inc/class-s3-destination.php b/inc/class-s3-destination.php index 664a67a0..df34af85 100755 --- a/inc/class-s3-destination.php +++ b/inc/class-s3-destination.php @@ -156,14 +156,36 @@ public static function options() 'label' => __('Dream Host Cloud Storage', 'backwpup'), 'endpoint' => 'https://objects-us-west-1.dream.io', ), + 'digital-ocean-sfo2' => array( + 'label' => __('DigitalOcean: SFO2', 'backwpup'), + 'endpoint' => 'https://sfo2.digitaloceanspaces.com', + ), + 'digital-ocean-nyc3' => array( + 'label' => __('DigitalOcean: NYC3', 'backwpup'), + 'endpoint' => 'https://nyc3.digitaloceanspaces.com', + ), 'digital-ocean-ams3' => array( 'label' => __('DigitalOcean: AMS3', 'backwpup'), 'endpoint' => 'https://ams3.digitaloceanspaces.com', ), + 'digital-ocean-sgp1' => array( + 'label' => __('DigitalOcean: SGP1', 'backwpup'), + 'endpoint' => 'https://sgp1.digitaloceanspaces.com', + ), + 'digital-ocean-fra1' => array( + 'label' => __('DigitalOcean: FRA1', 'backwpup'), + 'endpoint' => 'https://fra1.digitaloceanspaces.com', + ), 'scaleway-ams' => array( 'label' => __('Scaleway: AMS', 'backwpup'), + 'region' => 'nl-ams', 'endpoint' => 'https://s3.nl-ams.scw.cloud', ), + 'scaleway-par' => array( + 'label' => __('Scaleway: PAR', 'backwpup'), + 'region' => 'fr-par', + 'endpoint' => 'https://s3.fr-par.scw.cloud', + ), ) ); }