2010-09-24 02:30 AM
Dear Community members,
I would like use in pre-post backup script (perl). used an environement variable.
I set in a script (perl or cmd) an environement variable.
I run my smvi command with -script myscript.
My pre/post script is running however in my pre/post backup script the seted environement variable is not set.
do you have a solution?
2010-09-24 10:00 AM
Yes I'm able to run smvi in cli
Yes I read this famous TR
But, I must use other ENV, for PM script after the SnapShot.
SMVI ..... -scripts post.script.pl or post.script.cmd
OK the script was running
But in my script
MyVAr is empty, because not define.
SMVI start is own environment
2010-09-27 08:55 PM
I am not sure what happened. ideally any script that works through the cli should work using SMVI pre/post script. Is the script that you have given the complete script that you were running through SMVI?