Discussions specific to the VMware vSphere hypervisor
Post Reply
ddockter
Enthusiast
Posts: 60
Liked: never
Joined: Sep 25, 2010 2:09 pm
Full Name: Doug Dockter
Contact:

Future Product Enhancement

Post by ddockter » Dec 06, 2013 5:01 pm

I've run into a situation where it would be nice to have the ability to run pre and post commands for a VM that is included with other VMs in a backup job. Maybe in the future this could be added in "Advanced Options - Guest Processing Settings". In my example I want stop a service on the VM prior to the backup and restart the service after the backup is complete. What I'm doing now is running a scheduled task that kicks off just before the backup starts to stop the service and then running a "post job activity" command to start the service. I would prefer the service not be stopped for the entire backup job - just the backup of that VM. I know that I could put this VM in its own backup, but then I would lose the benefits of dedupe.

veremin
Product Manager
Posts: 17267
Liked: 1513 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Future Product Enhancement

Post by veremin » Dec 11, 2013 2:00 pm

Have you considered using VMware pre-freeze/post-thaw scripts in order to stop certain services inside particular VMs? Thanks.

ddockter
Enthusiast
Posts: 60
Liked: never
Joined: Sep 25, 2010 2:09 pm
Full Name: Doug Dockter
Contact:

Re: Future Product Enhancement

Post by ddockter » Dec 11, 2013 2:07 pm

I was not aware of that functionality. Sounds like that is what I need.

Vitaliy S.
Product Manager
Posts: 23410
Liked: 1665 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Future Product Enhancement

Post by Vitaliy S. » Dec 11, 2013 2:13 pm

Just to add to what Vladmir has proposed above:

You should enable both VMware Tools quiescence and AAIP for this job. In this case the default option will be application-aware image processing for all VMs. Since this option doesn't have pre-freeze and post-thaw scripts, you will then need to add these VMs to exclude list via advanced settings -> Advanced -> Add VM. For all VMs in that list select "edit" and disable application aware image processing. This will allow you to process VMs with pre-freeze/post-thaw scripts via VMware Tools while all other VMs will be backed up with application-aware image processing (the recommended way).

Hope this helps!

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests