Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo Enter the server from which to backup:
- set /p Server=
- echo Enter the path of the VM:
- set /p VmPath=
- echo Enter the username with which to login to Virtual Infrastructure:
- set /p User=
- echo Enter the password with which to login to Virtual Infrastructure:
- set /p Password=
- cls
- cd "%programfiles(x86)%vmwarevmware ovf tool"
- mkdir "C:vmbackup%vmPath%"
- ovftool.exe --acceptAllEulas --chunkSize=4480mb --diskMode=monolithicSparse "vi://%user%:%password%@%server%/%vmPath%" "C:vmbackup%vmPath%%vmPath:\=|%.ovf"
- pause
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement