Host-based backup of VMware vSphere VMs.
Post Reply
atsrl
Service Provider
Posts: 77
Liked: 11 times
Joined: Jul 08, 2016 1:58 pm
Full Name: AT SRL
Contact:

How to run script inside guest os: GLOBAL LAUNCHER

Post by atsrl »

Hi everybody!

Just an easy question: there is a way to use one pre-freeze script to call/launch one script that is allready inside the guest os?
I like to set just the same pre-scritp to all the jobs, and in each OS one customized script for the differents databases.
The pre-freeze script act as a global launcher, and each db admin create his own customized scritp, using the name and location "hardcoded" in the global launcher.

In my test, using the launcher I get a 126 or 127 error code and no more info its given. The inside script isn't launched.
When I try to use the inside OS script as pre-freeze then works fine.
Allways using the root account to mitigate problems related to permissions.

Thank you all, and let me now if I wasn't clear.
jmmarton
Veeam Software
Posts: 2092
Liked: 309 times
Joined: Nov 17, 2015 2:38 am
Full Name: Joe Marton
Location: Chicago, IL
Contact:

Re: How to run script inside guest os: GLOBAL LAUNCHER

Post by jmmarton » 1 person likes this post

The pre-freeze script is copied from the guest and executed there. To test your config, try manually copying the pre-freeze script and running it to see what happens when it calls the inside script. That will tell you what's going on. It should return no output and a value of 0 in order to execute properly as a pre-freeze script.

Joe
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Ivan_B, Semrush [Bot] and 78 guests