> For the complete documentation index, see [llms.txt](https://docs.verge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.verge.io/knowledge-base/zh/backup-dr/restore-system-from-boot-menu.md).

# 从启动菜单恢复 VergeOS 系统

可以直接从 VergeOS 启动菜单执行完整系统恢复。此选项用于在无法访问用户界面时进行系统恢复。以下文章将通过启动菜单恢复选项，逐步说明如何使用先前创建的系统快照恢复完整的 VergeOS 系统。

{% hint style="warning" %}
**此过程将覆盖现有系统。**

继续执行启动菜单恢复将用所选快照完全替换当前系统，并将所有系统组件回滚到快照状态，包括：

* 虚拟机
* 租户配置
* NAS 数据
* 系统设置
* 所有其他系统组件

这是一次全面恢复，不能仅针对特定组件选择性应用。
{% endhint %}

## 前提条件

* 至少有一个可用于恢复的完整系统快照
* 可访问节点的物理控制台或 IPMI
* 计划内关闭/重启所有 VergeOS 节点
* 所有节点都必须可用并准备好进行恢复（已连接，硬件正常）

## 步骤

1. **关闭所有节点** ，然后再开始恢复。
2. **打开节点 1 电源。**
3. **在启动菜单中，选择&#x20;*****Verge.io OS 系统恢复*****.**

   * 使用上下箭头键高亮该选项，然后按 **Enter** 以选中它。

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p><strong>启动菜单有 5 秒超时。</strong></p><p>菜单出现后 5 秒内按任意键（例如箭头键）——否则系统将自动启动到当前安装的版本。</p></div>
4. **等待 vSAN 挂载。** 在此过程中不要按任何键——任何按键都可能中断加载。

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>接下来的 2 个步骤（选择快照编号以及确认要恢复的快照）各自都有 5 分钟超时——如果在此期间没有选择或输入，系统将自动重启到当前系统状态。</p></div>
5. **选择要从中恢复的快照。**

   * 系统会显示一个按编号列出的可用系统快照列表。输入所需快照对应的编号，然后按 **Enter**.

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p>快照按名称字母顺序列出——而不是按创建日期/时间排序。</p></div>
6. **确认恢复快照。**
   * 出现提示时，输入 **快照的准确名称** ，然后按 **Enter**.
   * 名称必须与显示内容完全一致。
7. **可选择在覆盖之前先创建当前系统的快照。**

   * 系统会提示你一个选项，用于 **在恢复前备份当前系统**.

   <div data-gb-custom-block data-tag="hint" data-style="success" class="hint hint-success"><p><strong>创建当前状态快照的注意事项</strong></p><p>拍摄当前系统状态的快照可用于后续诊断。但如果恢复是由于 vSAN 空间不足或双重故障情况而执行的，这个恢复前快照可能会导致系统持续显示修复活动，直到删除该快照为止。</p></div>

   **是** 是默认值——按 **Enter** 而不输入任何内容，或在此处不做选择，将接受默认值并创建快照。快照命名约定： `Backup_YYYY-MM-dd_hh:mm:ss`

   <div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>创建此快照是为了 <em><strong>永不过期</strong></em>。系统恢复完成并确认不再需要此快照后，请删除该快照或修改其过期时间为近期日期。</p></div>
8. **完成恢复。**
   * 恢复过程将开始。
   * 当出现以下消息时，打开所有其他节点电源： `正在等待节点准备恢复：node2`
   * **在恢复过程完成期间，请勿按任何键。** 让恢复过程完成，并自动重启每个节点。

## 恢复后步骤

### 验证

系统重启后，登录 VergeOS UI 以验证已恢复系统的健康状况：

* **验证节点列表中所有节点都已检测到并显示在线** （绿色状态）。
* **查看** [**告警**](/run-the-platform/operations/alarms.md) **仪表板。**
* **检查系统日志** （在主仪表板上），查看恢复期间或恢复后可能发生的任何异常情况。
* **确认所有 vSAN 层都显示在线。** 恢复后，层可能需要一些时间才能完全上线，因为系统可能会执行日志遍历。请参阅 [日志遍历和 vSAN 层状态](/knowledge-base/zh/storage-vsan/understanding-journal-walks-and-vsan-tier-status.md) 以获取更多信息。

### 恢复前快照

如果你选择创建恢复前系统快照，请注意它被设置为 ***永不过期***。一旦恢复得到验证且不再需要该快照，请将其删除或将过期时间设置为近期日期。设置为永不过期的快照，随着实时数据持续变化，可能会随着时间消耗大量 vSAN 存储空间。

***

## 故障排除

### 恢复操作似乎卡住了

**症状：**

* 恢复操作似乎停滞，最后一条消息显示它正在等待某个节点（例如 **正在等待节点准备恢复：node2**).

**解决方法：**

* 验证指定节点已连接并已开机。所有节点都必须正常工作并能够接受恢复。

**症状：**

* 恢复操作似乎停滞，并且在“等待节点...”消息后显示一个或多个额外字符。

**解决方法：**

* 这可能表示在恢复进入完成阶段时按下了某个键，从而中止了该过程。如果屏幕在数分钟内仍未变化，请重启 node1 以进入启动菜单，并重复恢复步骤。确保当恢复提示正在等待节点准备就绪时，没有任何键盘活动。

### 恢复后立即尝试登录时出现错误

**症状：**

* 在选择 *用户界面* 选项后，浏览器加载并报告： ***无法访问网站*** 或 ***从服务器收到的 JSON 格式无效***.

**解决方法：**

* 恢复后，网络必须先重启，UI 才能可访问。请等待 1–2 分钟，让网络自动重新上线，然后刷新浏览器页面以重试连接 VergeOS UI。

***

{% hint style="info" %}
**需要帮助吗？**

如果你需要进一步帮助，请联系 [VergeOS 支持团队](/support-and-services.md).
{% endhint %}


---

# 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.verge.io/knowledge-base/zh/backup-dr/restore-system-from-boot-menu.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.
