> 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/automate-protect-and-extend/zh/bei-fen-yu-dr/system-snapshot-restores.md).

# 从系统快照恢复

## 从您的提供商/主机访问系统快照

{% hint style="info" %}
**这些说明适用于本身就是租户的系统。如果您的提供商允许，您可以请求从提供商的快照中访问您环境的快照。请求后，该快照即可用于恢复您的单个 VM 或整个环境。**
{% endhint %}

1. 导航到 **系统** > **系统快照**.
2. 将显示可用快照列表；其中类型为 ***提供商*** 的快照是由主机创建的。 **点击以选择所需的提供商快照** （所选快照将显示勾选标记）。
3. 点击 **向提供商请求** 在左侧菜单中。
4. 将出现确认对话框。点击 **是** 以继续拉取所选快照。
5. 确认流程后，从主机下载快照可能需要 15 秒或更长时间。传输完成后，该快照将显示为类型 ***本地*** 并带有绿色指示；此时可按下文所述用于从系统快照恢复整个系统、租户、VM 和卷。

{% hint style="warning" %}
**在向提供商请求快照后，且其显示为&#x20;*****类型=本地*****时，可编辑快照以修改描述和过期时间。将过期时间延长时，务必考虑对存储的影响；长期快照会随着快照与实时数据之间的数据分歧随时间增加而显著增加存储占用。**
{% endhint %}

***

## 从快照恢复整个系统

本节提供在 VergeOS 用户界面内恢复整个系统的说明。

{% hint style="success" %}
**从启动菜单恢复**

如需恢复无法访问用户界面的主机系统，请参阅知识库文章 [从启动菜单恢复 VergeOS 系统](/knowledge-base/zh/backup-dr/restore-system-from-boot-menu.md).
{% endhint %}

### 系统要求

* 完整系统恢复仅支持在创建快照的本地系统上进行。此操作不能用于将一个站点恢复覆盖到另一个站点（例如，不能将站点 A 恢复到站点 B 上）。
* 恢复整个系统需要重新启动所有节点。

{% hint style="warning" %}
**重大影响**

完整系统恢复会将所有系统组件还原到快照状态，包括：

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

这是一次全面恢复，无法有选择地仅应用于特定组件。
{% endhint %}

1. 导航到 **系统** > **系统快照**.
2. 点击 **选择所需的快照** 从列表中。
3. 选择 **恢复** 在左侧菜单中。
4. 将出现警告消息，提示这将覆盖整个系统。
   * 默认情况下，已选择以下选项： **创建快照** 在执行恢复前对整个系统进行快照。这样如有需要，之后可以将系统恢复到执行恢复操作前的状态。
   * 默认情况下，以下选项已启用： **在恢复后重新启动所有节点** 。这将让系统处理节点重启。完成系统恢复需要重启所有节点。
5. 点击 **继续** 按钮继续，或 **取消** 以中止。
6. 将出现另一条确认消息。要继续系统恢复，请点击 **继续** 按钮，或者什么都不做，因为 **除非取消，否则恢复操作将在 60 秒后继续。**

{% hint style="warning" %}
**要取消该操作，必须在 60 秒内点击&#x20;*****取消*****&#x20;按钮；否则，恢复操作将继续。**
{% endhint %}

## 从系统快照恢复所选租户

完整系统快照包含创建快照时的所有租户。部分系统快照则仅包含根据包含/排除标签配置所选的租户。

1. 导航到 **系统** > **系统快照**.
2. **选择所需的系统快照** 从列表中。
3. 点击 **查看租户** 在左侧菜单中。系统将显示所选系统快照中包含的所有 VM 列表；这可能需要几分钟时间。
4. **选择要** 恢复的租户。
5. 点击 **恢复** 在左侧菜单中。
6. A **确认** 对话框将要求您点击 **是** 以继续（如果您想取消操作，请点击 *否* 以取消该操作）。
7. 快照租户列表将显示勾选标记和 ***完成*** 消息，位于每个已恢复租户旁边，并显示新创建的租户实例名称（原租户名称后附加副本编号），例如：“已恢复到：tenantExampleCorp (1)”。

{% hint style="info" %}
**也可以从租户仪表板恢复单个租户，此恢复会覆盖现有租户，而不是创建新的租户实例。说明可在** [**这里找到**](/run-the-platform/zh/zu-hu/tenant-snapshots.md#restore-a-tenant-from-snapshot-overwrite-existing)**.**
{% endhint %}

## 从系统快照恢复所选 VM（创建新的 VM 实例）

完整系统快照包含创建快照时主机上的所有 VM。部分系统快照则仅包含根据包含/排除标签配置所选的 VM。

1. 导航到 **系统** > **系统快照**.
2. **选择所需的系统快照** 从列表中。
3. 点击 **查看 VM** 在左侧菜单中。系统将显示所选系统快照中包含的所有 VM 列表；这可能需要几分钟时间。
4. **选择要** 恢复的租户。
5. 点击 **恢复** 在左侧菜单中。
6. A **确认** 对话框将要求您点击 ***是*** 以继续（如果您想取消操作，请点击 *否* 以取消该操作）。
7. 快照 VM 列表将显示勾选标记和 ***完成*** 消息，位于每个已恢复 VM 旁边，并显示新创建的 VM 实例名称（原 VM 名称后附加副本编号），例如：“已恢复到：Windows2022SQL (0)”。

{% hint style="info" %}
**也可以从 VM 仪表板恢复单个 VM；从 VM 仪表板恢复时，可以选择创建新的 VM 实例或覆盖当前 VM。说明可在** [**这里找到**](/automate-protect-and-extend/zh/bei-fen-yu-dr/vm-snapshots-restores.md#restore-a-vm-snapshot-to-overwrite-existing-current-version-of-vm)**.**
{% endhint %}

## 相关文档

* [**虚拟机快照和恢复**](/automate-protect-and-extend/zh/bei-fen-yu-dr/vm-snapshots-restores.md)
* [**租户恢复**](/run-the-platform/zh/zu-hu/tenant-restores.md)
* [**卷快照与恢复**](/run-the-platform/zh/nas/volume-snapshots-restores.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.verge.io/automate-protect-and-extend/zh/bei-fen-yu-dr/system-snapshot-restores.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.
