본문 바로가기

가상화/VMware Esxi

[VMware ESXi] ovftool로 vm export 하기

반응형
250x250
반응형

ovftool 설치

 

 

 

사용방법

  • 형식 : ovftool "vi://{esxi ssh id}:{esxi ssh password}@{esxi ip}/{export vm name}" {local path}
> ./ovftool "vi://root:{password}@987214@{esxi ip}/{vm name}" .
Opening VI source: vi://root@{esxi ip}:443/{vm name}
Opening OVF target: .
Writing OVF package: ./{vm name}/{vm name}.ovf
Disk progress: 1%
...

 

  • VM power off 상태에서 export가 가능하며 power on 상태에서는 아래 메세지와 함께 export가 불가함.
...
The operation is not allowed in the current state.,
Fault cause: vim.fault.InvalidState

 

  • UI 상에서도 export가 가능
    • 각 VM - 작업 - 내보내기

반응형