-
- Enthusiast
- Posts: 65
- Liked: never
- Joined: Sep 17, 2010 12:33 pm
- Full Name: Steve Fritsch
- Location: Connecticut
- Contact:
Veeam pre commands
We are using Veeam Backup and Replication version 6.5. Is there anything in Veeam that allows me to run a pre command? I can only find the post command area.
Any help is appreciated
thanks
Any help is appreciated
thanks
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Veeam pre commands
Hi Steve,
You can use pre-freeze and post-thaw scripts if you enable VMware Tools quiescence in the advanced job settings. Also can you please tell me what kind of script you would like to run prior the VM backup job?
Thanks!
You can use pre-freeze and post-thaw scripts if you enable VMware Tools quiescence in the advanced job settings. Also can you please tell me what kind of script you would like to run prior the VM backup job?
Thanks!
-
- Enthusiast
- Posts: 65
- Liked: never
- Joined: Sep 17, 2010 12:33 pm
- Full Name: Steve Fritsch
- Location: Connecticut
- Contact:
Re: Veeam pre commands
perfect...thanks Vitaly
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
Re: Veeam pre commands
You're welcome, but please keep in mind that if you enable both application-aware image processing from Veeam and VMware Tools quiescence, our backup/replication job will use the first option. See this topic for further details > Backup job with Unix and Windows (Options)
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Veeam pre commands
Additionally, you can schedule your pre commands to be run at specified time via Windows Scheduler and in the end of this pre-activity execute VB&R specific commands, like ones responsible for running jobs:
Hope this helps.
Thanks.
Code: Select all
asnp VeeamPSSnapin
Get-VBRJob -name "Name of your Job" | Start-VBRJob
Hope this helps.
Thanks.
-
- Novice
- Posts: 6
- Liked: 1 time
- Joined: May 23, 2011 11:59 am
- Full Name: Aina Mirija
- Contact:
[MERGED] : Run script before/after job
Hi,
Is there a way to run a script on the VM before and after backup job is running?
the goal is to run some tasks on guest OS VM (such as stopping a database, clean TEMP ...)
Thanks.
Mirija.
Is there a way to run a script on the VM before and after backup job is running?
the goal is to run some tasks on guest OS VM (such as stopping a database, clean TEMP ...)
Thanks.
Mirija.
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Aug 06, 2014 8:13 am
- Full Name: A
- Contact:
Re: Veeam pre commands
Sorry to re-open an old thread, but thought better than opening a dupe.
We are seeing some issues with our various HA servers (Windows, IIS and App servers) when snapshots are being taken due to the guest pause/freeze.
As we use F5 Load Balancers for these servers, we would like to run a pre-Script which tells F5 to disable the node, the backup runs, and then we can run a post-script to enable again. This lets us cleanly drain one node before the backup is taken.
I can see post commands, but for pre, the way i understand i will have to do the following
Change my job to not run a schedule
Have a script run via Task Scheduler that kicks off the F5 pause
Then the script invokes the Backup job via the PS snippet in a post above
Any easier way to do this? I want to avoid using Task Scheduler ideally...
We are seeing some issues with our various HA servers (Windows, IIS and App servers) when snapshots are being taken due to the guest pause/freeze.
As we use F5 Load Balancers for these servers, we would like to run a pre-Script which tells F5 to disable the node, the backup runs, and then we can run a post-script to enable again. This lets us cleanly drain one node before the backup is taken.
I can see post commands, but for pre, the way i understand i will have to do the following
Change my job to not run a schedule
Have a script run via Task Scheduler that kicks off the F5 pause
Then the script invokes the Backup job via the PS snippet in a post above
Any easier way to do this? I want to avoid using Task Scheduler ideally...
-
- Veeam Software
- Posts: 21139
- Liked: 2141 times
- Joined: Jul 11, 2011 10:22 am
- Full Name: Alexander Fogelson
- Contact:
Re: Veeam pre commands
Currently there's no other way to do this, however you can expect pre-job tasks in v8 release. Thanks!
-
- Influencer
- Posts: 12
- Liked: never
- Joined: Aug 06, 2014 8:13 am
- Full Name: A
- Contact:
Re: Veeam pre commands
Awesome! I can wait for that, many thanks.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Veeam pre commands
You can subscribe on our site in order to be informed on version 8 availability. Thanks.
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot] and 61 guests