Host-based backup of VMware vSphere VMs.
Post Reply
thedos
Novice
Posts: 4
Liked: never
Joined: Sep 26, 2011 3:07 pm
Contact:

Veeam B&R 7.0 - "Pre Job Activity"

Post by thedos »

Hi,

I'm implementing Symantec Enterprise Vault at a customer.
EV relies on a SQL Database. EV and SQL are located on 2 separates VMs.
Customer doesn't have any other backup solution than VM.

To backup properly the SQL VM server, I need to put the EV server in maintenance mode. This is best practices.

In Veeam B&R 7.0 I can see that I'm able to run a specific command in the Post Job Activity section of the Job Advanced Settings.
So I need to run a PowerShell script before the SQL backup to have the EV server entering maintenance mode and then a second PS script to have the EV server back into production mode.

Is there a way to have the Veeam job to run a command ? (kind of "pre job activity")
Thanks in advance
Jeremy
tsightler
VP, Product Management
Posts: 6011
Liked: 2843 times
Joined: Jun 05, 2009 12:57 pm
Full Name: Tom Sightler
Contact:

Re: Veeam B&R 7.0 - "Pre Job Activity"

Post by tsightler »

You can use a Powershell script that performs the needed actions and then starts the Veeam Job and schedule that via Task Manager. I've also seen some customers use the job chaining feature, basically use a Post-Job script on the first job which performs the actions needed for the second job in the chain, the second job then includes the VMs such as SQL and EV server, and has a Post-Job script which restarts the services.
veremin
Product Manager
Posts: 20283
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Veeam B&R 7.0 - "Pre Job Activity"

Post by veremin »

From my perspective, the script algorithm should be similar to the one previously described:

1) Put EV into maintenance mode.
2) Start a given VB&R Job.
3) Once the snapshot of VM is taken, instruct EV to get back to normal mode.

Thanks.
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Veeam B&R 7.0 - "Pre Job Activity"

Post by Vitaliy S. »

Hi Jeremy,

Since EV and SQL are located on 2 separate VMs, you could potentially use VMware Tools quiescence with pre-freeze and post-thaw scripts for the EV VM.

Thanks!
Post Reply

Who is online

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