PowerEdge:如何備份和還原 ESXi 組態

Summary: 本文說明如何在必須重新安裝 ESXi 時擷取 ESXi 組態備份並還原。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

目標

備份和還原 ESXi 組態,適用於須重新安裝 ESXi 的情況。

事實
VMware ESXi

解決方案

  1. 若要備份 ESXi 組態:
    1. 執行下列命令: vim-cmd hostsvc/firmware/backup_config
    2. 前往輸出中的 URL 以匯出組態檔案。(將 URL 中的 * 替換為 IP 位址。)
      膩子
    3. 如果無法透過瀏覽器下載組態檔案,可以在 /scratch/downloads/<<GUID from output in step b>>/configBundle-hostname.local.tgz。使用 winscp 將檔案從 ESXi 傳輸到近端機器或複製到資料存放區
  2. 將組態還原回 ESXi 主機:
    1. 確定從中進行備份的相同 ESXi 組建已安裝回主機。
    2. 將備份檔案複製回 ESXi 主機。使用 winscp 將組態檔案複製回主機 /tmp 目錄。
    3. 將檔案重新命名為 configBundle-<host name>.tgz 的輸出傳送至 configBundle.tgz
      範例:
      cp configBundle-esxi7001.vmlab.local.tgz configBundle.tgz
    4. 讓主機進入維護模式。
    5. 執行命令:
      vim-cmd hostsvc/firmware/restore_config /backup_location/configBundle.tgz
    6. 如果出現指出 UUID 不相符的錯誤,請新增 1 以強制覆寫通用唯一識別符 (UUID)。
      例:
      vim-cmd hostsvc/firmware/restore_config 1 /tmp/configBundle.tgz

Affected Products

PowerEdge XR2, PowerEdge R470, PowerEdge R540, PowerEdge R550, PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R660, PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R670 , PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R760, PowerEdge R760XA, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7615, PowerEdge R7625, PowerEdge R770, PowerEdge R7715, PowerEdge R7725, PowerEdge R840, PowerEdge R860, PowerEdge R940, PowerEdge R940xa, PowerEdge R960, PowerEdge T350, PowerEdge T360, PowerEdge T430, PowerEdge T440, PowerEdge T550, PowerEdge T560, PowerEdge T630, PowerEdge T640, PowerEdge XR11, PowerEdge XR12, PowerEdge XR4000r, PowerEdge XR4000w, PowerEdge XR4000z, PowerEdge XR4510c, PowerEdge XR4520c, PowerEdge XR5610, PowerEdge XR7620, PowerEdge XR8000r, PowerEdge XR8610t, PowerEdge XR8620t ...
Article Properties
Article Number: 000205963
Article Type: How To
Last Modified: 11 Mar 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.