PowerShell changing tape incremental settings

PowerShell script exchange

PowerShell changing tape incremental settings

Veeam Logoby lightsout » Fri Mar 06, 2015 8:21 pm

All,

So are per this page:

http://helpcenter.veeam.com/backup/80/powershell/set-vbrbackuptotapejob.html

I want to clear "Process Incremental Backup" from the job and I see "ProcessIncrementalBackup" but there is no way to turn it off and only to turn it on. I've looked for methods to change the tape options without luck.

Is it possible to clear this setting via PowerShell?
lightsout
Expert
 
Posts: 185
Liked: 47 times
Joined: Thu Apr 10, 2014 4:13 pm

Re: PowerShell changing tape incremental settings

Veeam Logoby v.Eremin » Tue Mar 10, 2015 2:18 pm 1 person likes this post

Try the following example:

Code: Select all
$Job = Get-VBRTapeJob -name "Name of your backup to tape job"
$Job | Set-VBRBackupToTapeJob -ProcessIncrementalBackup:$false


Thanks.
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: PowerShell changing tape incremental settings

Veeam Logoby lightsout » Tue Mar 10, 2015 2:54 pm 1 person likes this post

Ahh, yes, that does it. I tried:

Code: Select all
$Job | Set-VBRBackupToTapeJob -ProcessIncrementalBackup $false


I was close, but no cigar. Thanks!
lightsout
Expert
 
Posts: 185
Liked: 47 times
Joined: Thu Apr 10, 2014 4:13 pm

Re: PowerShell changing tape incremental settings

Veeam Logoby v.Eremin » Tue Mar 10, 2015 3:01 pm

Since -ProcessIncrementalBackup is a switch, rather than a parameter, the corresponding syntax should be a bit different. But you were close, indeed. :)
v.Eremin
Veeam Software
 
Posts: 13296
Liked: 974 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 7 guests