# 升级到捐助版

如果您之前使用社区版的 Cloudreve，在获取到捐助版后，您可以在保留数据的前提下升级到捐助版。

### 替换主程序

备份所有数据，将捐助版主程序、授权文件上传并替换到原先的社区版目录下。

### 执行升级脚本

使用 Cloudreve 的命令行参数，运行升级数据库脚本：

{% tabs %}
{% tab title="Linux" %}

```
./cloudreve --database-script OSSToPro
```

{% endtab %}

{% tab title="Windows" %}

```
cloudreve.exe --database-script OSSToPro
```

{% endtab %}
{% endtabs %}


---

# 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://docsv3.cloudreve.org/manage/update/update-from-os.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.
