> 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/syncs-overview.md).

# 站点同步

VergeOS 站点同步功能概述，通过块级快照复制并结合加密和压缩，实现异地备份、灾难恢复和系统迁移。

站点同步将系统快照复制到另一个 VergeOS 系统，从而简化并优化以下场景：

* **异地备份与归档** - 在远程站点或在同步回传到源系统后，以细粒度恢复数据
* **应急准备** - 确保整个系统可在远程站点快速、完整地就绪恢复，以最大限度减少停机时间并确保业务连续性
* **迁移** - 可轻松将完整系统、单个租户或选定工作负载迁移并在新位置启动

## 主要功能

* **完整系统异地备份** - 复制包含网络、虚拟机、租户、NAS 和系统配置的系统快照
* **最小化带宽占用/缩短传输时间** - 块级同步（仅传输已更改的数据）、传输中去重和压缩
* **传输中加密** - 自动 AES 256 位加密
* **灵活操作** - 可选定时、排队和手动同步
* **修复服务器（ioGuardian）** - 同步站点可用于自动在线修复（例如在多个驱动器同时故障或电源问题后）

## 恢复粒度

站点同步会将系统快照复制到远程站点——可以是捕获全部内容的完整系统快照，也可以是仅限于已标记对象（如特定租户、虚拟机或 NAS 服务）的部分快照。完整系统快照支持整个环境故障切换，使您能够在灾难性故障后在 DR 站点将整个环境上线。无论哪种情况（完整或部分），在顶层系统级别捕获到的任何虚拟机和租户都可以直接从已复制的快照中选择性恢复。

系统快照中的租户可以作为单个对象恢复。租户内部的单个对象——如虚拟机、子租户和 NAS 卷——无法从系统级快照中进行选择性恢复。要恢复租户内的特定项目，需要先将整个租户恢复到 DR 站点，然后使用有效的租户凭据登录该已恢复的租户，以访问并恢复单个对象。

如果需要在远程站点直接对单个租户对象进行细粒度恢复——例如，在不先恢复整个租户的情况下仅故障切换一台虚拟机——则可在租户内部配置站点同步。从租户内部发起的站点同步可以复制到远程站点上预先配置好的租户。拥有租户凭据的用户随后可以浏览已复制租户的快照，并直接恢复特定的虚拟机、子租户或 NAS 卷，而无需任何先前的主机级恢复步骤。

{% hint style="success" %}
**两者可以同时运行。** 用于完整系统故障切换的顶层系统级同步与用于按虚拟机恢复粒度的租户到租户同步可以共存。在两个级别复制同一租户会增加同步开销。
{% endhint %}

## 相关链接

* [**站点仪表板**](/run-the-platform/zh/xi-tong-guan-li/sites-overview.md)
* [**配置站点同步**](/automate-protect-and-extend/zh/bei-fen-yu-dr/sync-configuration.md)
* [**监控站点同步**](/automate-protect-and-extend/zh/bei-fen-yu-dr/monitoring-site-syncs.md)
* [**手动站点同步**](/automate-protect-and-extend/zh/bei-fen-yu-dr/manual-site-syncs.md)
* [**获取同步回传** （用于本地数据恢复）](/automate-protect-and-extend/zh/bei-fen-yu-dr/sync-back.md)
* [**修复服务器（ioGuardian）**](/automate-protect-and-extend/zh/bei-fen-yu-dr/repair-server.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/syncs-overview.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.
