Comprehensive data protection for all workloads
Post Reply
frankive
Service Provider
Posts: 1092
Liked: 134 times
Joined: May 14, 2013 8:35 pm
Full Name: Frank Iversen
Location: Norway
Contact:

Schedule quickbackup

Post by frankive »

Sometimes we have to work on server on the nights and when we do that we like that we have a fresh copy of the VM..
I am aware of quick backup which let us select a VM in a larger backup job.

But;
Is it possible to schedule this quickbackup of that particular VM? Nice to schedule 9.30 when we know we will work on the server 10.00 and the VM takes 25 min. to backup f.ex :)
I am sure we can do that with powershell, but how about show that powershell code in the quick backup wizard at the same time we confirm we want to run the quickbackup?
Than we could paste the code directly into a .ps1 and schedule it with task scheduler eventually.
veremin
Product Manager
Posts: 20413
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Schedule quickbackup

Post by veremin »

You're right that it's possible via PS. The script itself should be quite simple, something like the following:

Code: Select all

Start-VBRQuickBackup -VM (Find-VBRViEntity -Server (Get-VBRServer -Name "Name of vCenter") -Name ("Name of VM to backup"))
Thanks.
Post Reply

Who is online

Users browsing this forum: sarnold, Semrush [Bot] and 51 guests