Host-based backup of VMware vSphere VMs.
Morgenstern72
Expert
Posts: 101 Liked: 16 times
Joined: Jan 30, 2014 3:37 pm
Full Name: Joachim
Contact:
Post
by Morgenstern72 » Aug 10, 2016 7:40 am
this post
We use ESX 5.5 and 6.0
I just upgraded our VMWare Mirage server to a cluster, but this makes backup much more difficult. It would be much easier (and has no impact on users) to shut down both VMS, make a (SAN) snapshot, power them on again and backup just that snapshot. Is there an easy way to do that with veeam?
Any help with details on how to do would be very appreciated
eshteinman
Novice
Posts: 4 Liked: 2 times
Joined: Dec 09, 2014 10:54 am
Full Name: Evgeny Shteynman
Contact:
Post
by eshteinman » Aug 10, 2016 8:05 am
2 people like this post
you need install VMware powercli on veeam server and run veeam process from user that have permissions to start and shutdown VM
Then in veeam job configure pre-job script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -executionpolicy Remotesigned -Command Add-PSSnapin VeeamPSSnapIn; Add-PSSnapin VMware.VimAutomation.Core; Connect-VIServer -Server "you vcenter server name"; Shutdown-VMGuest -VM "you vm name" -Server lbn-vc4-01 -Confirm:0; do{$vm=Get-VM -Name "you vm name"}while ($vm.PowerState -eq \"PoweredOn\")
and post-job script:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -executionpolicy Remotesigned -Command Add-PSSnapin VeeamPSSnapIn; Add-PSSnapin VMware.VimAutomation.Core; Connect-VIServer -Server "you vcenter server name"; Start-VM -VM "you vm name" -Server "you vcenter server name"; Start-Sleep -s 90
Morgenstern72
Expert
Posts: 101 Liked: 16 times
Joined: Jan 30, 2014 3:37 pm
Full Name: Joachim
Contact:
Post
by Morgenstern72 » Aug 10, 2016 10:43 am
this post
Does the post-script start after the snapshot is done or after the backup job is finished?
veremin
Product Manager
Posts: 20666 Liked: 2375 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:
Post
by veremin » Aug 10, 2016 11:02 am
1 person likes this post
This is an English-speaking forum, so, kindly please avoid using any languages but English.
And answering your question - post-job script starts after a job is finished, post-thaw script (also available in GUI) takes place as soon as a snapshot is removed.
Thanks.
Morgenstern72
Expert
Posts: 101 Liked: 16 times
Joined: Jan 30, 2014 3:37 pm
Full Name: Joachim
Contact:
Post
by Morgenstern72 » Aug 11, 2016 8:10 am
this post
I find before and after scripts, but no post-thaw. Where can I find this?
Gostev
Chief Product Officer
Posts: 32216 Liked: 7583 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:
Post
by Gostev » Aug 11, 2016 12:55 pm
this post
Guest Processing step.
Users browsing this forum: Amazon [Bot] , Bing [Bot] and 89 guests