Discussions specific to the VMware vSphere hypervisor
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 » Sep 06, 2013 4:55 pm

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: 5418
Liked: 2240 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 » Sep 06, 2013 5:25 pm

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: 16892
Liked: 1435 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 » Sep 09, 2013 8:28 am

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.
Product Manager
Posts: 22984
Liked: 1556 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. » Sep 09, 2013 11:02 am

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: No registered users and 16 guests