Comprehensive data protection for all workloads
Post Reply
inistcnrs
Novice
Posts: 8
Liked: 2 times
Joined: Aug 05, 2020 3:47 pm
Full Name: Michel Villaume
Contact:

Backup job : Passing parameters with pre/post scripts

Post by inistcnrs »

Bonjour,

Is there a trick for passing/coding parameters with "advanced settings/Scripts dialog"
Ex:
Argument1 vm action
Argument2 vm name
run the following script before C:\Mypath\MyCommonVMscript.ps1 stop MyVMx
run the following script after C:\Mypath\MyCommonVMscript.ps1 start MyVMx

Merci
Cordialement
PetrM
Veeam Software
Posts: 3886
Liked: 657 times
Joined: Aug 28, 2013 8:23 am
Full Name: Petr Makarov
Location: Prague, Czech Republic
Contact:

Re: Backup job : Passing parameters with pre/post scripts

Post by PetrM »

Hi Michel,

There is no such option, you can only specify a path to a script file in the job wizard. Could you please clarify why that is not enough for your use case?

Thanks!
inistcnrs
Novice
Posts: 8
Liked: 2 times
Joined: Aug 05, 2020 3:47 pm
Full Name: Michel Villaume
Contact:

Re: Backup job : Passing parameters with pre/post scripts

Post by inistcnrs » 1 person likes this post

Merci,
Dommage :-(

we have some vm (reverse proxies on the front end of our organization) with pci devices.
I wanted to have a common script and avoid duplicating the stop/start/check/.... scripts by hardcoding the action and the name of the vms in each script
So the idea of ​​being able to pass arguments via the wizard
Bonne soirée
Michel
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 11 guests