PowerShell script exchange
Post Reply
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

PowerShell changing tape incremental settings

Post by lightsout »

All,

So are per this page:

http://helpcenter.veeam.com/backup/80/p ... pejob.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?
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PowerShell changing tape incremental settings

Post by veremin » 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.
lightsout
Expert
Posts: 227
Liked: 62 times
Joined: Apr 10, 2014 4:13 pm
Contact:

Re: PowerShell changing tape incremental settings

Post by lightsout » 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!
veremin
Product Manager
Posts: 20400
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: PowerShell changing tape incremental settings

Post by veremin »

Since -ProcessIncrementalBackup is a switch, rather than a parameter, the corresponding syntax should be a bit different. But you were close, indeed. :)
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests