08-08-2011 06:31 AM
Backup failed with error 73 - The bpstart_notify script returned a nonzero exit code.
How to verify script has run properly? How to troubleshoot this script issue on netbackup?
Please suggest.
Solved! Go to Solution.
08-08-2011 10:22 AM
08-08-2011 06:44 AM
Try to run the script or bat file by hand on the client. If any error is returned - that the culprit you are looking for.
08-08-2011 06:52 AM
I don't see any error. it started and then disappeared within a sec before i could see anything
08-08-2011 07:21 AM
The script is returning a non-zero exit code.
You'll have to determine why your script is doing that; i.e. a real problem or a scripting error.
08-08-2011 07:30 AM
thats what i wanted to know how and where to check where is the problem?
08-08-2011 08:45 AM
Did someone face this issue ever..? Any help on this ?
08-08-2011 08:52 AM
The notify script - does it run on a Windows or Unix box ?
If the script exit quick you need to put somthing in the end that prevent from exiting .e.g a "sleep 10000" for unix or "pause" for Windows.
08-08-2011 09:44 AM
a) Ask the person who wrote it to find and fix the trouble.
b) If you wrote it then trace through, line by line, until you find the error.
08-08-2011 09:47 AM
as it's not really a NetBackup issue, though if you attach your script then perhaps someone can point out the problem.
08-08-2011 09:48 AM
its a windows box. error code script is echoing is "0"
08-08-2011 09:53 AM
script contents:
call kix32.exe c:\batch\tpa224databkupnew.kix
ECHO %errorlevel% > %6
sleep 10000
Script attached.
08-08-2011 10:22 AM
ECHO %errorlevel% > %6
to
ECHO 0 > %6
and see if that doesn't work
08-08-2011 10:22 AM
what are you trying to backup exactly???
a file statem backup??? full or incremental????
I have faced this and I found that "perform block level incremental backups” option was checked in policy but the backup scheduled is for full backup and its a normal linux file system backup
just verify the policy....in case
08-09-2011 06:31 AM
Its a linux box and we are backing up the followign selection:
C:\
E:\crADMINGDM01.sql
E:\cr_temp_tablespace.sql
08-09-2011 06:53 AM
C: and E: drives on Linux ??
What was result of echo 0 > %6 ? (per my note above)
08-09-2011 06:57 AM
Did you mean that you have linux Master server and you are trying to take the normal file system backup from a windows client????
if it is normal file level backup then script dont come into the picture I guess.
I would still suggest verify the policy attribute....
On master, run: bppllist <policy-name> -U post the output.
08-09-2011 07:18 AM
Sorry everyone it was a typo.. its a windows box as i had menioned in my posts also.
And thanks a lot Wrobbins it worked . Backup is successful now. was that the problem with batch file and and instead of error level we should give the numric value.