set vscmd="C:\Program Files\Microsoft\VSSSDK72\Tools\VSSReports\vshadow.exe"set target_drive=d:set expose_drive=y:set env_file="%tmp%\setvar1.cmd":maincall :make_vscall :backupcall :del_vsgoto :EOF:make_vs%vscmd% -script=%env_file% -p %target_drive%call %env_file%%vscmd% -el=%SHADOW_ID_1%,%expose_drive%exit /b:del_vs%vscmd% -ds=%SHADOW_ID_1%del %env_file%exit /b:backup"C:\Program Files\Windows Resource Kits\Tools\robocopy.exe" %expose_drive%\ \\server\share\backup\ /E /ZB /COPY:DAT /R:10 /W:30 /TBD /NP /V /TS /FP /TEEexit /b
vmware suspendmake_vssvmware startcp -a vm_guest \\nasdel_vss