Host-based backup of VMware vSphere VMs.
Post Reply
GianlucaCroci
Expert
Posts: 214
Liked: 20 times
Joined: Feb 26, 2019 12:08 pm
Full Name: Gianluca Croci
Contact:

PreFreeze and PostThaw linux scripts parameters

Post by GianlucaCroci »

Hello,
under "Application-Aware Processing Options", entering a server's edit, I would like to be able to pass parameters for the execution of the "Pre-freeze" and "Post-thaw" Linux scripts.
I tried to insert the parameter immediately after the path\batch.sh but it doesn't work.
I've tried searching but can't find anywhere how to pass a parameter.

it's possible to use parameters? how?

thanks in advance.
Regards
PetrM
Veeam Software
Posts: 3264
Liked: 528 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: PreFreeze and PostThaw linux scripts parameters

Post by PetrM »

Hi Gianluca,

There is no option to pass parameters, you can just specify a path to a script. Let's consider your question as a feature request.

Why you cannot implement the desired behavior within the script itself instead of calling it with parameters? The first idea of a workaround which comes to me is to use a chain of scripts: specify a script from which you call another script with the necessary parameters. However, this is something that I never tested, thus I cannot guarantee the reliability of such an approach.

Thanks!
GianlucaCroci
Expert
Posts: 214
Liked: 20 times
Joined: Feb 26, 2019 12:08 pm
Full Name: Gianluca Croci
Contact:

Re: PreFreeze and PostThaw linux scripts parameters

Post by GianlucaCroci » 1 person likes this post

Thanks for the reply.

For the moment we've done this. A script that call another script.
Clearly the passing of parameters was more elegant, because then clearly if the second script goes wrong then the error must also be passed to the first one. However it works :D

Thanks again. Hope in the future
PetrM
Veeam Software
Posts: 3264
Liked: 528 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: PreFreeze and PostThaw linux scripts parameters

Post by PetrM »

Hi Gianluca,

Absolutely agree that it would be more elegant, the request is noted but ETA is yet to be determined.

Thanks!
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 41 guests