# S3互換ストレージバックアップ

Cherry Studio のデータバックアップは、S3 互換ストレージ（オブジェクトストレージ）によるバックアップに対応しています。一般的な S3 互換ストレージサービスには、AWS S3、Cloudflare R2、Alibaba Cloud OSS、Tencent Cloud COS、MinIO などがあります。

S3 互換ストレージを基に、 `Aパソコン` $$\xrightarrow{\text{备份}}$$ `S3ストレージ` $$\xrightarrow{\text{恢复}}$$ `Bパソコン` の方法でマルチデバイス間のデータ同期を実現できます。

### S3 互換ストレージの設定

1. オブジェクトストレージバケット（Bucket）を作成し、バケット名を記録してください。**バックアップデータの漏えいを防ぐため、バケットは必ず非公開の読み書きに設定することを強く推奨します！！**
2. ドキュメントを参照し、クラウドサービスのコンソールで S3 互換ストレージの `Access Key ID`、`Secret Access Key`、`Endpoint`、`Bucket`、`Region` などの情報を取得してください。
   * **Endpoint**：S3 互換ストレージのアクセスアドレス。通常は次のような形式です `https://<bucket-name>.<region>.amazonaws.com` または `https://<ACCOUNT_ID>.r2.cloudflarestorage.com`を提供する。
   * **Region**：バケットが所在するリージョン。たとえば `us-west-1`、`ap-southeast-1` など。Cloudflare R2 の場合は `auto`を提供する。
   * **Bucket**：バケット名。
   * **Access Key ID** と **Secret Access Key**：認証に使用する資格情報。
   * **Root Path**：任意。バケットへバックアップする際のルートパスを指定します。既定は空です。
   * **関連ドキュメント**
     * AWS S3：[Access Key ID と Secret Access Key の取得](https://docs.aws.amazon.com/zh_cn/IAM/latest/UserGuide/id_credentials_access-keys.html)
     * Cloudflare R2：[Access Key ID と Secret Access Key の取得](https://developers.cloudflare.com/r2/api/tokens/)
     * Alibaba Cloud OSS：[Access Key ID と Access Key Secret の取得](https://help.aliyun.com/zh/oss/developer-reference/use-amazon-s3-sdks-to-access-oss#306596478ed3r)
     * Tencent Cloud COS：[SecretId と SecretKey の取得](https://cloud.tencent.com/document/product/436/37421)
3. S3 バックアップ設定で上記の情報を入力し、バックアップボタンをクリックすればバックアップできます。管理ボタンをクリックすると、バックアップファイル一覧を表示・管理できます。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cherry-ai.com/docs/jp/pre-basic/data-settings/s3-compatible.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
