# Discourse + Wasabi (تخزين متوافق مع S3)

**URL:** https://meta.discourse.org/t/discourse-wasabi-s3-compatible-storage/103145
**Category:** Support
**Created:** [30 نوفمبر 2018، 6:28ص UTC](https://meta.discourse.org/t/discourse-wasabi-s3-compatible-storage/103145 "2018-11-30T06:28:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Zyniker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zyniker/32/120004_2.png) [@Zyniker](https://meta.discourse.org/u/Zyniker)
#### Post date: [30 نوفمبر 2018، 6:28ص UTC](https://meta.discourse.org/t/discourse-wasabi-s3-compatible-storage/103145/1 "2018-11-30T06:28:47Z")

</div>

Is it currently possible to backup to Wasabi? I attempted to configure this, but could not seem to get it to work with the most recent version of Discourse. It seems like this would be a straightforward matter, but no combination of settings seems to have worked. Perhaps something is off with region selection?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [30 نوفمبر 2018، 10:30ص UTC](https://meta.discourse.org/t/discourse-wasabi-s3-compatible-storage/103145/2 "2018-11-30T10:30:09Z")

</div>

@gerhard do you know if that’s possible?

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [30 نوفمبر 2018، 11:30ص UTC](https://meta.discourse.org/t/discourse-wasabi-s3-compatible-storage/103145/3 "2018-11-30T11:30:44Z")

</div>

It depends on how compatible Wasabi is, but I’d expect that the basic stuff will work. Downloading and or uploading to/from the client might fail unless they also support pre-signed URLs.

Are you getting any errors in the logs?  
Looking at the documentation of Wasabi, it supports 2 regions:

- `us-east-1`, US East (N. Virginia)
- `us-west-1`, US West (N. California)

Have you tried those two?

---

<div class="post-metadata">

### Author: ![Zyniker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zyniker/32/120004_2.png) [@Zyniker](https://meta.discourse.org/u/Zyniker)
#### Post date: [30 نوفمبر 2018، 11:06م UTC](https://meta.discourse.org/t/discourse-wasabi-s3-compatible-storage/103145/4 "2018-11-30T23:06:11Z")

</div>

I tried quite a few different regions, including `us-east-1` and `us-west-1`.

Here are the two errors showing up in the logs:

`Failed to list backups from S3: Aws::S3::Errors::BadRequest`

`Failed to list backups from S3: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-1'`

(n.b., for testing purposes, I’m working with root-level permissions, so that is one potential issue that can almost certainly be eliminated.)

---

<div class="post-metadata">

### Author: ![Zyniker](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zyniker/32/120004_2.png) [@Zyniker](https://meta.discourse.org/u/Zyniker)
#### Post date: [30 نوفمبر 2018، 11:32م UTC](https://meta.discourse.org/t/discourse-wasabi-s3-compatible-storage/103145/5 "2018-11-30T23:32:46Z")

</div>

It seems to be working now with the following combination:

1. `us-west-1` (`US West (N. California)` in Discourse; `Hillsboro (OR)` for Wasabi)

2. `https://s3.us-west-1.wasabisys.com` as the endpoint (`s3.wasabisys.com` is the endpoint for the East region)

As any S3-compatible storage can be used with Discourse, it may be clearer to have the drop-down menu for region selection display the region identification (e.g., `us-west-1`) instead of or along with the region name (e.g., `US West (N. California)`).

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [30 ديسمبر 2018، 11:32م UTC](https://meta.discourse.org/t/discourse-wasabi-s3-compatible-storage/103145/6 "2018-12-30T23:32:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
