Hello
SMVI2.0 Backup scripts error output is not run
The same script At the command will be run properly
The following is the contents of the batch file
********************************************************************************
if %BACKUP_PHASE% == PRE_BACKUP goto PRE
if %BACKUP_PHASE% == POST_BACKUP goto POST
:PRE
pre.bat
time /t >c:\pre.txt
ipconfig /all>>c:\pre.txt
C:\WINDOWS\system32\net.exe use \\w2k8-essp2-95\ipc$ /user:administrator p@ssw0rd
C:\WINDOWS\system32\sc.exe \\w2k8-essp2-95 stop MSSQLSERVER
goto END
:POST
post.bat
time /t >c:\post.txt
ipconfig /all>>c:\post.txt
C:\WINDOWS\system32\net.exe use \\w2k8-essp2-95\ipc$ /user:administrator p@ssw0rd
C:\WINDOWS\system32\sc.exe \\w2k8-essp2-95 start MSSQLSERVER
C:\WINDOWS\system32\net.exe use /delete \\w2k8-essp2-95\ipc$
goto END
:END
EXIT /b 0
******************************************************************************************************
Does not run when you run the following command in the SMVI backup job script
C:\WINDOWS\system32\net.exe use \\w2k8-essp2-95\ipc$ /user:administrator p@ssw0rd
The SMVI backup log file has the following message
Files\NetApp\SMVI\server\log\scripts>C:\WINDOWS\system32\net.exe use \\w2k8-essp2-95\ipc$ /user:administrator p@ssw0rd
System error 1312 has occurred. A specified logon session does not exist.
Q&A
The SMVI backup script connects to the remote commands can not I use?