cancel
Showing results for 
Search instead for 
Did you mean: 

Bpstart notify failed 73

KS2
Level 5

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Will_Restore
Level 6

  ECHO %errorlevel% > %6

to

  ECHO 0 > %6

and see if that doesn't work

View solution in original post

16 REPLIES 16

Nicolai
Moderator
Moderator
Partner    VIP   

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.

KS2
Level 5

I don't see any error. it started and then disappeared within a sec before i could see anything

Will_Restore
Level 6

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. 

KS2
Level 5

thats what i wanted to know how and where to check where is the problem?

KS2
Level 5

Did someone face this issue ever..? Any help on this ?

Nicolai
Moderator
Moderator
Partner    VIP   

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.

Will_Restore
Level 6

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.

 

Will_Restore
Level 6

as it's not really a NetBackup issue, though if you attach your script then perhaps someone can point out the problem.

KS2
Level 5

its a windows box. error code script is echoing is "0"

KS2
Level 5

script contents:

call kix32.exe c:\batch\tpa224databkupnew.kix

ECHO %errorlevel% > %6

sleep 10000

Script attached.

Will_Restore
Level 6

  ECHO %errorlevel% > %6

to

  ECHO 0 > %6

and see if that doesn't work

Pritesh_Pisal
Level 5
Partner Accredited

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

KS2
Level 5

Its a linux box and we are backing up the followign selection:

C:\
E:\crADMINGDM01.sql
E:\cr_temp_tablespace.sql
 

Will_Restore
Level 6

C: and E: drives on Linux ??

 

What was result of  echo 0 > %6  ?  (per my note above)

Pritesh_Pisal
Level 5
Partner Accredited

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.

 

 

KS2
Level 5

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.