瀏覽代碼

Update configuring-playbook-synapse-s3-storage-provider.md

added syntax to upload to wasabi (needs --endpoint param)
pull/2736/head
Tupsi 2 年之前
committed by GitHub
父節點
當前提交
6a2d90006b
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 13 行新增0 行删除
  1. +13
    -0
      docs/configuring-playbook-synapse-s3-storage-provider.md

+ 13
- 0
docs/configuring-playbook-synapse-s3-storage-provider.md 查看文件

@@ -112,6 +112,19 @@ docker run -it --rm \
docker.io/amazon/aws-cli:2.9.16 \
-c 'aws s3 sync /work/. s3://$BUCKET/'
```
#### Copying data to Wasabi

To copy to Wasabi, start a container on the Matrix server like this:

```sh
docker run -it --rm \
-w /work \
--env-file=/matrix/synapse/ext/s3-storage-provider/env \
--mount type=bind,src=/matrix/synapse/storage/media-store,dst=/work,ro \
--entrypoint=/bin/sh \
docker.io/amazon/aws-cli:2.9.16 \
-c 'aws s3 sync /work/. s3://$BUCKET/ --endpoint-url=$ENDPOINT'
```

#### Copying data to Backblaze B2



Loading…
取消
儲存