> For the complete documentation index, see [llms.txt](https://docs.cherryai.com.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cherryai.com.cn/docs/en-us/pre-basic/settings/data-settings/s3-compatible.md).

# S3-Compatible Storage Backup

Cherry Studio data backup supports backing up via S3-compatible storage (object storage). Common S3-compatible storage services include: AWS S3, Cloudflare R2, Alibaba Cloud OSS, Tencent Cloud COS, and MinIO.

Based on S3-compatible storage, you can use `Computer A` $$\xrightarrow{\text{备份}}$$ `S3 storage` $$\xrightarrow{\text{恢复}}$$ `Computer B` to achieve multi-device data synchronization.

### Configure S3-compatible storage

1. Create an object storage bucket (Bucket) and note down the bucket name.**It is strongly recommended to set the bucket to private read/write to avoid backup data leakage!!**
2. Refer to the documentation and go to the cloud service console to obtain the S3-compatible storage `Access Key ID`,`Secret Access Key`,`Endpoint`,`Bucket`,`Region` and other information.
   * **Endpoint**: The access address of S3-compatible storage, usually in the form `https://<bucket-name>.<region>.amazonaws.com` or `https://<ACCOUNT_ID>.r2.cloudflarestorage.com`.
   * **Region**: The region where the bucket is located, for example `us-west-1`,`ap-southeast-1` etc.; for Cloudflare R2, please enter `auto`.
   * **Bucket**: Bucket name.
   * **Access Key ID** and **Secret Access Key**: Credentials used for authentication.
   * **Root Path**: Optional, specify the root path when backing up to the bucket; default is empty.
   * **Related documentation**
     * AWS S3:[Get Access Key ID and Secret Access Key](https://docs.aws.amazon.com/zh_cn/IAM/latest/UserGuide/id_credentials_access-keys.html)
     * Cloudflare R2:[Get Access Key ID and Secret Access Key](https://developers.cloudflare.com/r2/api/tokens/)
     * Alibaba Cloud OSS:[Get Access Key ID and Access Key Secret](https://help.aliyun.com/zh/oss/developer-reference/use-amazon-s3-sdks-to-access-oss#306596478ed3r)
     * Tencent Cloud COS:[Get SecretId and SecretKey](https://cloud.tencent.com/document/product/436/37421)
3. Fill in the above information in the S3 backup settings, click the Backup button to start backing up, and click the Manage button to view and manage the backup file list.

***

### Get help and submit feedback

If you encounter any questions or bugs during configuration or use, or have suggestions for feature improvements, please refer to the official channels provided in [Feedback and Suggestions](/docs/en-us/question-contact/suggestions.md) .


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.cherryai.com.cn/docs/en-us/pre-basic/settings/data-settings/s3-compatible.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
