Comprehensive data protection for all workloads
Post Reply
Poweruser
Expert
Posts: 189
Liked: 7 times
Joined: Jul 25, 2018 4:12 pm
Full Name: Poweruser
Contact:

Pre-freeze / Post-thaw Timeout

Post by Poweruser » Aug 05, 2018 9:36 pm

The Script timeout is far to short.
it needs to be changed. but how?
if not possible it should be added.

EDIT: Backup & Replication supports scripts in the EXE, BAT and CMD format.
Powershell should be added, too! (maybe its missing on the manual page)

Poweruser
Expert
Posts: 189
Liked: 7 times
Joined: Jul 25, 2018 4:12 pm
Full Name: Poweruser
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by Poweruser » Aug 07, 2018 12:09 am

Timeout is "hackable" by Registry.
Thats a dirty job and i think it wont be backupped to config backup.
anyway who wants to use this as a quick hack:

https://www.veeam.com/kb2182
https://forums.veeam.com/post284663.html#p284663
https://forums.veeam.com/veeam-backup-r ... 24354.html

maybe this will help someone
for me its a solution but not a nice one because i have to track these change on recovery/fresh install.

btw: for freeze jobs https://www.veeam.com/kb1377 will be the right value.
why this is msec instead of seconds.. nobody knows..

Poweruser
Expert
Posts: 189
Liked: 7 times
Joined: Jul 25, 2018 4:12 pm
Full Name: Poweruser
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by Poweruser » Aug 07, 2018 12:59 am

but for me it did not work :-(
after 10 minutes veeam breaks my pre freeze job :-(
https://www.veeam.com/kb1377 tells about 15 minutes but my timeout is 10 minutes..
b&r says:
"Timed out waiting for pre-freeze script to finish execution"

so for me i still need a solution! :-(

foggy
Veeam Software
Posts: 17931
Liked: 1512 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by foggy » Aug 07, 2018 4:28 pm

Try this one:

Code: Select all

MaxGuestScriptTimeoutSec
Type: REG_DWORD
Default value: 600
Description: Timeout for pre-freeze and post-thaw scripts, in seconds.
The one mentioned in the KB is for VSS preparation process, not for script execution.

Poweruser
Expert
Posts: 189
Liked: 7 times
Joined: Jul 25, 2018 4:12 pm
Full Name: Poweruser
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by Poweruser » Aug 07, 2018 10:36 pm

i will check it out, but it looks like its the correct value as it uses 600 seconds like 10 minutes.
btw if you write 600 value you should say "decimal" as it could be "hex".
just to be sure...
anyway please add all these timeouts into an advanced config dialog. it would be an easy hack for you. also it should be backuped with configuration.
registry hacks are hard to track over years.

foggy
Veeam Software
Posts: 17931
Liked: 1512 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by foggy » Aug 08, 2018 11:55 am

They are, thanks for the suggestion.

Poweruser
Expert
Posts: 189
Liked: 7 times
Joined: Jul 25, 2018 4:12 pm
Full Name: Poweruser
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by Poweruser » Aug 08, 2018 10:42 pm

okay so the config backup includes a backup of manually set registry entries?
btw add them to the gui (and at least set the default values into registry, so you wont make typos if you create new ones instead of just changing values.
just in case the entry is not existing, the software should restore the default value into the registry.
so its auto-reheal, too :-)

foggy
Veeam Software
Posts: 17931
Liked: 1512 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by foggy » Aug 09, 2018 11:42 am

Poweruser wrote:okay so the config backup includes a backup of manually set registry entries?
No, I meant they "are hard to track over years". ;)

Poweruser
Expert
Posts: 189
Liked: 7 times
Joined: Jul 25, 2018 4:12 pm
Full Name: Poweruser
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by Poweruser » Aug 09, 2018 9:28 pm

Yes in deed! So i hope you will add it to config backup and you add it to gui settings :-)

BriFar
Veeam ProPartner
Posts: 23
Liked: 11 times
Joined: Oct 24, 2011 12:55 pm
Full Name: Brian Farrugia
Location: Malta, Europe
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by BriFar » Apr 26, 2019 7:22 pm

Hi,
has this key been changed from PreJobScriptTimeoutSec to MaxGuestScriptTimeoutSec at a certain point?
Been having some issues with already working jobs and started failing after updating Veeam.
+1 to have this in the Job Settings. I have 9.5 U4a and didn't see them there.

Brian

foggy
Veeam Software
Posts: 17931
Liked: 1512 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Pre-freeze / Post-thaw Timeout

Post by foggy » Jun 26, 2019 4:38 pm

Hi Brian, these values are for different types of scripts: the former is for pre-job/post-job and the latter is for pre-freeze/post-thaw scripts.

Post Reply

Who is online

Users browsing this forum: emachabert, jtorres, nmdange and 63 guests