Comprehensive data protection for all workloads
Post Reply
cparker4486
Expert
Posts: 231
Liked: 18 times
Joined: Dec 07, 2009 5:09 pm
Full Name: Chris
Contact:

In Powershell is -FullBackup equivalent to an Active Full?

Post by cparker4486 »

Hello,

The documentation doesn't contain the phrase "active full" but I see that Start-VBRJob has a parameter called -FullBackup. Are these one and the same?


Thanks.
-- Chris
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: In Powershell is -FullBackup equivalent to an Active Ful

Post by veremin »

Yep, you're right.

And syntax should be as the following:

Code: Select all

$Job = Get-VBRJob | ?{$_.name -eq "Name of your job"}
Start-VBRJob $Job -FullBackup
Hope this helps.
Thanks.
cparker4486
Expert
Posts: 231
Liked: 18 times
Joined: Dec 07, 2009 5:09 pm
Full Name: Chris
Contact:

Re: In Powershell is -FullBackup equivalent to an Active Ful

Post by cparker4486 »

Great, thanks.

I wonder then, why is a full backup called "Active" in the job setup wizard?
-- Chris
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: In Powershell is -FullBackup equivalent to an Active Ful

Post by veremin »

I think, in order to distinguish it from synthetic full.

Thanks.
cparker4486
Expert
Posts: 231
Liked: 18 times
Joined: Dec 07, 2009 5:09 pm
Full Name: Chris
Contact:

Re: In Powershell is -FullBackup equivalent to an Active Ful

Post by cparker4486 »

I have a followup question to this issue.

My regular jobs run on weekdays at 11PM. If I use PowerShell to run an active full on the 1st day of every month at 10:59PM, and the 1st happens to be on a weekday, will my PS job replace the regularly scheduled job or will they both jobs run?

As I understand it, active fulls schedule through the job setup wizard will replace the regular job so I wonder if this is also true for a job executed by PS.
-- Chris
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: In Powershell is -FullBackup equivalent to an Active Ful

Post by veremin »

You should think about this PS command as an analogue of manual action, when you right-click the given job and select “Active Full”.
If I use PowerShell to run an active full on the 1st day of every month at 10:59PM, and the 1st happens to be on a weekday, will my PS job replace the regularly scheduled job or will they both jobs run?
Assuming that your active full backup lasts longer than one minute, only it will be performed at this day and regular schedule will be discarded.

In contrast, let’s say that you executed Active Full via PS at 10-30, it took about an hour to complete, and this job was scheduled to run 14-00, then, regular schedule wouldn’t be replaced - an incremental run would take place at scheduled time.

Hope this helps.
Thanks.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 87 guests