> 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/run-the-platform/zh/xu-ni-ji/import-from-vmware.md).

# 从 VMware 服务备份作业导入虚拟机

## 概述

{% hint style="info" %}
**关键要点**

* 导入多个生产环境 VMware 虚拟机的推荐方法
* 创建到 VMware 环境的直接代理连接
* 支持对正在运行的虚拟机同步备份
* 支持增量备份，实现高效传输
  {% endhint %}

本指南说明如何使用 VergeOS 的 VMware 服务备份功能导入 VMware 虚拟机。此方法针对生产环境进行了优化，可在迁移期间将停机时间降至最低。

## 前提条件

* 可访问 VMware 和 VergeOS 两个环境
* 已在 VergeOS 中配置并运行 VMware 服务
* VergeOS vSAN 中有足够的存储空间
* VMware 与 VergeOS 环境之间具有网络连接
* 两个环境中都具有适当的权限

## 步骤

### 1. 初始备份流程

1. **运行初始备份**:
   * 在虚拟机运行时执行第一次备份
   * 监控备份耗时和大小
   * 继续运行增量备份，直到备份时长稳定
2. **最终备份**:
   * 关闭 VMware 中的源虚拟机
   * 执行一次最终备份以捕获干净状态
   * 验证备份完成

### 2. 从备份导入虚拟机

1. 导航到 VMware 服务：
   * 从顶部菜单中选择 **导入/导出**
   * 选择 **VMware 服务**
   * 双击相应的 VMware 服务
2. 访问备份作业：
   * 选择 **备份作业** 在左侧菜单中
   * 双击所需的备份作业
   * 单击 **导入虚拟机** 在左侧菜单中
3. 配置导入设置：
   * 选择/取消选择要导入的虚拟机
   * 选择是否保留 MAC 地址
   * 选择首选存储层级
   * 单击 **提交** 以开始导入

{% hint style="success" %}
**专业提示**

保持 MAC 地址不变（默认设置）有助于避免来宾操作系统中的网络重新配置，因为它们将保留现有的网络标识。
{% endhint %}

## 高级选项

### 存储层级选择

* **默认**：使用系统的默认存储层级
* **自定义**：为导入的虚拟机选择特定层级

### MAC 地址处理

* **保留 MAC** （默认）：保持原始网络标识
* **生成新地址**：为导入的虚拟机创建新的 MAC 地址

## 故障排除

{% hint style="warning" %}
**常见问题**

* **导入失败**:
  * 解决方案：验证存储空间和网络连接
* **传输缓慢**:
  * 解决方案：检查网络带宽，并考虑使用增量备份
* **虚拟机无法启动**:
  * 解决方案：确保已安装 VMware Tools，并验证硬件兼容性
    {% endhint %}

## 其他资源

* [VMware 备份/DR 指南](/knowledge-base/zh/backup-dr/vmwarebackupdrguide.md)
* [配置 VMware 服务 VM NIC 的 IPv4 设置](/knowledge-base/zh/networking/vmware-service-vm-nic-ipv4-configuration.md)
* [查看导入作业](/run-the-platform/zh/xu-ni-ji/view-import-jobs.md)
* [首选层级使用](/knowledge-base/zh/storage-vsan/preferred-tier-usage.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/run-the-platform/zh/xu-ni-ji/import-from-vmware.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.
