1.

Solve : ghost batch script?

Answer»

i NEED some help regarding a script i want to use for restoring a ghost image fully unattended. this is a script i GOT from work. In this script there is a line which i do not understand:

a:\Ghost\ghost.exe -CHKIMG,c:\svpbackc.gho -batch -pwd=raid-login

what does the raid-login do???

and do i need the WORD -batch at the END of this line??

the complete script is as follows:

@echo off

ECHO Start Verify(C image)...
a:\Ghost\ghost.exe -CHKIMG,c:\svpbackc.gho -batch -pwd=raid-login
IF ERRORLEVEL 1 GOTO GSTERR1

ECHO Start Recovery...
a:\Ghost\ghost.exe -script=a:\script.txt
IF ERRORLEVEL 1 GOTO GSTERR2

GOTO GHOSTEND


:GSTERR1
ECHO **********************************
ECHO * *
ECHO * GHOST Image Verify error(C:) *
ECHO * *
ECHO **********************************
GOTO ERROREND

:GSTERR2
ECHO ******************************
ECHO * *
ECHO * GHOST Image load error *
ECHO * *
ECHO ******************************
GOTO ERROREND

:GHOSTEND
ECHO ***********************************
ECHO * *
ECHO * Recovery Normality Completion *
ECHO * *
ECHO ***********************************
GOTO NORMAL

:ERROREND
GOTO END

:NORMAL
BEEP
GOTO NORMAL

:END

Check those options here:

http://www.symantec.com/business/support/index?page=content&id=tech130961



Discussion

No Comment Found