> 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/pre-basic/settings/data-settings.md).

# 数据设置

数据设置是 Cherry Studio 的 **数据中枢**：所有关于 **备份、恢复、跨设备同步、第三方笔记集成** 的功能都在这里。

> 一句话：**怕丢数据，就来这里设置一次。**

## 我应该用什么备份方案？

| 你的场景                        | 推荐方案                                                                                                                                                                    |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 个人单机使用，担心硬盘坏掉               | [WebDAV 备份](/pre-basic/settings/data-settings/webdav.md)（用坚果云、123 盘等）                                                                                                   |
| 多台电脑想同步对话/助手                | [WebDAV 备份](/pre-basic/settings/data-settings/webdav.md) —— A 电脑备份，B 电脑恢复                                                                                               |
| 已经有 AWS / 阿里云 OSS 等 S3 兼容存储 | [S3 兼容存储备份](/pre-basic/settings/data-settings/s3-compatible.md)                                                                                                         |
| 想把对话内容自动归档到笔记软件             | [Notion](/pre-basic/settings/data-settings/notion.md) / [Obsidian](/pre-basic/settings/data-settings/obsidian.md) / [思源笔记](/pre-basic/settings/data-settings/siyuan.md) |
| 只想备份到本机另一个文件夹 / 移动硬盘        | **本地备份**（选一个备份目录，支持自动备份 + 备份文件管理）                                                                                                                                       |

## 备份的是什么？

**默认完整备份**：

* 对话历史与话题
* 助手与预设设置
* 知识库（含向量数据库内容）
* 笔记、绘画、文件等附件
* 偏好与个性化设置
* Provider 配置（API 密钥也会包含在内）

**精简备份**（可选）：备份界面有一个 **精简备份** 开关，开启后会 **跳过图片、知识库等数据文件，仅备份聊天记录和设置**，体积小、速度快，适合频繁快速备份。

{% hint style="warning" %}
备份文件会包含 Provider API 密钥等敏感信息。**请勿把备份文件分享给他人，也不要存储在不受信任的共享网盘**。
{% endhint %}

## 多久备份一次？

* **手动备份**：随时点击「备份」按钮
* **自动备份**：开启后按设定的 **时间间隔** 自动执行（可选从几分钟到 24 小时，如 5 分钟 / 30 分钟 / 1 小时 / 24 小时），而非固定的"每天 / 每周"

## 数据存哪？

如果想换硬盘位置，看 [修改存储位置](/pre-basic/settings/data-settings/storage.md)。

## 导入 ChatGPT 或 Claude 对话

路径：【设置】→【数据】→【导入外部应用数据】。选择【导入 ChatGPT 数据】或【导入 Claude 数据】，再按提示选择 `conversations.json`。

Claude 导出步骤：

1. 登录 Claude，打开【设置】→【隐私】→【导出数据】；
2. 等待邮件并下载导出文件；
3. 解压文件，选择其中的 `conversations.json`。

Claude 数据会导入文字、思考过程、工具调用和工具结果；ChatGPT 与 Claude 对话中的可用分支也会保留。图片和附件不会导入。

## 按类别清除缓存

路径：【设置】→【数据】→【清除缓存】。弹窗会分别计算每类数据的大小；统计尚未完成或只能估算时，以页面提示为准。

| 类别          | 会清理什么                  | 影响                    |
| ----------- | ---------------------- | --------------------- |
| 【应用缓存】      | 应用运行时产生的缓存和临时文件        | 不删除聊天记录和设置            |
| 【网站与小程序数据】  | Cookie 和站点存储           | 网站或 Mini App 可能需要重新登录 |
| 【残留文件与知识库】  | 不再使用的文件、知识库残留和备份恢复临时文件 | 只清理系统识别出的残留项          |
| 【v1 版本遗留数据】 | 保留在本机的 V1 旧对话和设置       | 永久删除，无法恢复             |

{% hint style="danger" %}
只有检测到保留的 V1 数据时，才会显示【v1 版本遗留数据】。选择它会删除【重新迁移】所需的 V1 数据源；确认 V1 数据已经迁移完整，并保留完整备份和 V1 数据目录前，**不要选择这一项**。如果不是为解决 V1 迁移失败，普通用户也不要使用【重新迁移】。详见 [V2 破坏性更新提醒](/cherry-studio/installation/v2-breaking-update-notice.md)。
{% endhint %}

## 重置应用数据

【重置数据】会清除聊天、助手、知识库、文件和设置并重启应用，且无法撤销。它不是常规排障步骤；操作前先创建完整备份。

此外，数据设置页还提供【导出菜单设置】，用于控制对话或笔记的导出目标。

***

### 获取帮助与提交反馈

如果您在配置或使用过程中遇到任何疑问、Bug 或有功能改进建议，请参考 [反馈与建议](/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 dynamically by asking a question.

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

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
