@echo off
setlocal
 
echo [%DATE% %TIME%] HPE Insight Control performance management rollback started...                                                                                     >> %LOGFILE%
ROBOCOPY "%BackupFolder%\pmp-web.war"                                                  "%SIMInstallPath%\jboss\server\hpsim\deploy\pmpnext.ear\pmp-web.war" /S /E       >NUL 2>&1 
COPY /Y "%BackupFolder%\ICperftools.xml"                                               "%SIMInstallPath%\config\preload-plugins\76\icperf\addfiles\ICperftools.xml"     >NUL 2>&1       
copy /Y "%BackupFolder%\en\index.html"                                                 "%SIMInstallPath%\hpwebadmin\webapps\mxhelp\icperf\en\content\index.html"        >NUL 2>&1 
copy /Y "%BackupFolder%\ja\index.html"                                                 "%SIMInstallPath%\hpwebadmin\webapps\mxhelp\icperf\ja\content\index.html"        >NUL 2>&1 
copy /Y "%BackupFolder%\zh_CN\index.html"                                              "%SIMInstallPath%\hpwebadmin\webapps\mxhelp\icperf\zh_CN\content\index.html"     >NUL 2>&1 
copy /Y "%BackupFolder%\home.html"                                                     "%SIMInstallPath%\hpwebadmin\webapps\mxhelp\icperf\en\content\home.html"         >NUL 2>&1 

echo [%DATE% %TIME%] HPE Insight Control performance management rollback completed.                                                                                     >> %LOGFILE%
exit /B %EXITCODE%
endlocal
