AD 林恢复-执行完整服务器恢复AD Forest Recovery - Performing a full server recovery

适用于: Windows Server 2016、Windows Server 2012 和 2012 R2、Windows Server 2008 和 2008 R2Applies To: Windows Server 2016, Windows Server 2012 and 2012 R2, Windows Server 2008 and 2008 R2

使用以下过程对 Windows Server 2016、2012 R2 或2012执行完整服务器恢复。Use the following procedure to perform a full server recovery for Windows Server 2016, 2012 R2, or 2012.

Active Directory 完全服务器恢复Active Directory Full Server Recovery

如果要还原到不同的硬件或不同的操作系统实例,则完全服务器恢复是必需的。A full server recovery is necessary if you are restoring to different hardware or a different operating system instance. 请记住以下几点:Keep in mind the following:

  • 目标服务器上的驱动器号需要与备份中的数字相等,并且需要相同的大小或更大。The number drives on the target server needs to be equal to the number in the backup and they need to be the same size or greater.
  • 为了访问 " 修复计算机 " 选项,需要从操作系统 DVD 启动目标服务器。The target server needs to be started from the operating system DVD in order to access the Repair your computer option.
  • 如果目标 DC 正在 Hyper-v 上的虚拟机中运行,并且备份存储在网络位置上,则必须安装旧版网络适配器。If the target DC is running in a VM on Hyper-V and the backup is stored on a network location, you must install a legacy network adapter.
  • 执行完整服务器恢复之后,需要单独执行 SYSVOL 的权威还原,如 AD 林恢复-执行 DFSR 复制的 SYSVOL 的权威同步中所述。After you perform a full server recovery, you need to separately perform an authoritative restore of SYSVOL, as described in AD Forest Recovery - Performing an authoritative synchronization of DFSR-replicated SYSVOL.

根据具体方案,使用以下过程之一执行完全还原。Depending on your scenario, use one of the following procedures to perform a full restore.

使用最新映像通过本地备份执行完整服务器还原Perform a full server restore with a local backup with the latest image

  1. 开始 Windows 安装程序 ",指定语言、时间和货币格式以及键盘选项,然后单击" 下一步 "。Start Windows Setup, specify the Language, Time and currency format, and keyboard options and click Next .
  2. 单击 修复计算机Click Repair your computer . 服务器还原Server Restore
  3. 单击 疑难解答Click Troubleshoot .
    服务器还原Server Restore
  4. 单击 " 系统映像恢复 "。Click System Image Recovery .
    服务器还原Server Restore
  5. 单击 " Windows Server 2016 "。Click Windows Server 2016 . 服务器还原Server Restore
  6. 如果要还原最近的本地备份,请单击 "使用最新的可用系统映像 (建议) 并单击" 下一步 "。If you are restoring the most recent local backup, click Use the latest available system image (recommended) and click Next . 服务器还原Server Restore
  7. 现在,你可以选择执行以下操作:You will now be given an option to:
    • 对磁盘进行格式化和重新分区Format and repartition disks
    • 安装驱动程序Install drivers
    • 取消选择自动重启和检查磁盘错误的 高级 功能。De-selecting the Advanced features of automatically restarting and checking for disk errors. 默认情况下已启用以上状态。These are enabled by default. 服务器还原Server Restore
  8. 单击“下一步”。Click Next .
  9. 单击“完成”。Click Finish . 系统将提示你是否确定要继续。You will be prompted asking if you are sure you want to continue. 单击 “是”Click Yes . 服务器还原Server Restore
  10. 完成后,执行 SYSVOL 的权威还原,如 AD 林恢复中所述-执行 DFSR 复制的 SYSVOL 的权威同步Once this completes perform an authoritative restore of SYSVOL, as described in AD Forest Recovery - Performing an authoritative synchronization of DFSR-replicated SYSVOL.

使用任何映像本地或远程执行完整服务器还原Perform a full server restore with any image local or remote

  1. 开始 Windows 安装程序 ",指定语言、时间和货币格式以及键盘选项,然后单击" 下一步 "。Start Windows Setup, specify the Language, Time and currency format, and keyboard options and click Next .
  2. 单击 修复计算机Click Repair your computer .
  3. 单击 " 疑难解答 ",单击 " 系统映像恢复 ",然后单击 " Windows Server 2016 "。Click Troubleshoot , click System Image Recovery , and click Windows Server 2016 .
  4. 如果要还原最近的本地备份,请单击 " 选择系统映像 ",然后单击 " 下一步 "。If you are restoring the most recent local backup, click Select a system image and click Next .
  5. 现在,你可以选择要还原的备份的位置。Now you can select the location of the backup that you want to restore. 如果映像为本地映像,可以从列表中选择它。If the image is local you can select it from the list.
  6. 如果映像位于网络共享上,请选择 " 高级 "。If the image is on a network share, select Advanced . 如果需要安装驱动程序,还可以选择 " 高级 "。You can also select Advanced if you need to install a driver. 服务器还原Server Restore
  7. 如果要从网络还原,请在单击 " 高级 ",然后在 网络上搜索系统映像If you are restoring from the network after clicking Advanced select Search for a system image on the network . 系统可能会提示你还原网络连接。You may be prompted to restore network connectivity. 选择 "确定"。Select Ok.
    服务器还原Server Restore
  8. 键入备份共享位置的 UNC 路径 (例如 \ \server1\backups) 并单击 "确定"Type the UNC path to the backup share location (for example, \\server1\backups) and click OK . 还可以键入目标服务器的 IP 地址,例如 \ \192.168.1.3\backups。You can also type the IP address of the target server, such as \\192.168.1.3\backups. 服务器还原Server Restore
  9. 键入访问共享所需的凭据,然后单击 "确定"。Type credentials necessary to access the share and click OK.
  10. 现在, 选择要还原的系统映像的日期和时间 ,然后单击 " 下一步 "。Now Select the date and time of system image to restore and click Next .
  11. 现在,你可以选择执行以下操作:You will now be given an option to:
    • 对磁盘进行格式化和重新分区Format and repartition disks
    • 安装驱动程序Install drivers
    • 取消选择自动重启和检查磁盘错误的 高级 功能。De-selecting the Advanced features of automatically restarting and checking for disk errors. 默认情况下已启用以上状态。These are enabled by default.
  12. 单击“下一步”。Click Next .
  13. 单击“完成”。Click Finish . 系统将提示你是否确定要继续。You will be prompted asking if you are sure you want to continue. 单击 “是”Click Yes .
  14. 完成后,执行 SYSVOL 的权威还原,如 AD 林恢复中所述-执行 DFSR 复制的 SYSVOL 的权威同步Once this completes perform an authoritative restore of SYSVOL, as described in AD Forest Recovery - Performing an authoritative synchronization of DFSR-replicated SYSVOL.

为网络备份启用网络适配器Enabling the network adapter for a network backup

如果需要从命令提示符启用网络适配器以从网络共享进行还原,请使用以下步骤。If you need to enable a network adapter from the command prompt to restore from a network share, use the following steps.

  1. 开始 Windows 安装程序 ",指定语言、时间和货币格式以及键盘选项,然后单击" 下一步 "。Start Windows Setup, specify the Language, Time and currency format, and keyboard options and click Next .

  2. 单击 修复计算机Click Repair your computer . II

  3. 单击 " 疑难解答 ",单击 " 命令提示符 "。Click Troubleshoot , click Command Prompt .

  4. 键入以下命令,然后按 Enter:Type the following command and press ENTER:

    wpeinit
    
  5. 若要确认网络适配器的名称,请键入:To confirm the name of the network adapter, type:

    show interfaces
    

    键入以下命令,然后在每个命令后面按 ENTER:Type the following commands and press ENTER after each command:

    netsh
    
    interface
    
    tcp
    
    ipv4
    
    set address "Name of Network Adapter" static IPv4 Address SubnetMask IPv4 Gateway Address 1
    

    例如:For example:

    set address "Local Area Connection" static 192.168.1.2 255.0.0.0 192.168.1.1 1
    

    键入 quit 返回命令提示符。Type quit to return to a command prompt. 键入 ipconfig /all 以验证网络适配器是否具有 IP 地址,并尝试对托管备份共享的服务器的 IP 地址进行 ping 操作,以确认连接。Type ipconfig /all to verify the network adapter has an IP address and try to ping the IP address of the server that hosts the backup share to confirm connectivity. 完成后,关闭命令提示符。Close the command prompt when you are done.

  6. 现在网络适配器正在运行,请选择上述步骤完成还原。Now that the network adapter is working, select the steps above to complete the restore.

后续步骤Next Steps