Host-based backup of VMware vSphere VMs.
Post Reply
tdbd
Lurker
Posts: 2
Liked: never
Joined: Oct 29, 2015 7:44 am
Contact:

Post Script Warning Exit Code 1

Post by tdbd »

Hi,

since update Veeam B&R from 7 to 8 I got the Warning
"Post-job script terminated with exit code 1".

It is not totaly wrong, because after the Job run a script which eject the target RDX.
Is there any Option to get a successs message and ignore the warning ?

thanks
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Post Script Warning Exit Code 1

Post by PTide »

Hi,

The only way to get success message and ignore the warning would be to either disable script execution or check you post-job script first and see which line generates taht error code. You can never know for sure if that error wlll eventually result in some sort of a disaster or not, so i'd stick with the latter. Feel free to post the problematic piece of code here if you need help with troubleshooting - people here will be glad to be of help.

Thank you.
tdbd
Lurker
Posts: 2
Liked: never
Joined: Oct 29, 2015 7:44 am
Contact:

Re: Post Script Warning Exit Code 1

Post by tdbd »

Hi,

Message from Veeam : Post-job script terminated with exit code 1
Script : @echo off
timeout /T 60
c:\VeeamScripte\FreeEject\freeeject.exe h
exit
PTide
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Post Script Warning Exit Code 1

Post by PTide »

I belive that there should be no problems with "echo", "timeout", and "exit" strings and something must be wrong with the

Code: Select all

"c:\VeeamScripte\FreeEject\freeeject.exe h
part. Another option is to append /b 0 to your "exit" statement so it will set error level to 0 thus making VBR think that the script finished without errors, however that's a dangerous approach.

Thank you.
Post Reply

Who is online

Users browsing this forum: No registered users and 77 guests