Link to home
Start Free TrialLog in
Avatar of Valimai
Valimai

asked on

Windows Server Backup 2008 Command Line Exit Codes?

Hi there,

im using Windows Server Backup 2008 from the command line batch file and want to detect if an error has occoured or not. Does anyone have exit codes? or is there another method?

Currently doing something like this:

wbadmin.exe start backup -backuptarget:%backupTarget% -allCritical -VSSfull -quiet
if ERRORLEVEL 1 exit

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of ebyk
ebyk

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Valimai
Valimai

ASKER

Thanks, worked great!
Good luck!.