Comprehensive data protection for all workloads
Post Reply
RubinCompServ
Service Provider
Posts: 385
Liked: 114 times
Joined: Mar 16, 2015 4:00 pm
Full Name: David Rubin
Contact:

Reverse Incremental to Forever Forward (script)

Post by RubinCompServ » 3 people like this post

With the announcement that v13 will be deprecating Reverse Incremental backups (and the Veeam Security Analyzer in 12.3.0 already telling me to get rid of them), I wrote a quick-and-dirty PowerShell script to locate all Backup jobs that are configured for Reverse Incremental and change them to Forever Forward.

Code: Select all

$RIJobs = Get-VBRJob | Where {$_.BackupTargetOptions.Algorithm -eq 'Syntethic'} 

$RIJobs | Sort-Object Name

ForEach ($job in $RIJobs) {
    Set-VBRJobAdvancedBackupOptions -Job $job -Algorithm Incremental -TransformFullToSyntethic $False -EnableFullBackup $False
}
As always, no warranty is provided on the code, this code has not been tested, published, or approved by Veeam or anybody employed by Veeam, no Veeam support will be provided for this code, understand the code before running the code, and test the code in your particular environment before running it against all your jobs. "Syntethic" is not a word, but it is an acceptable entry for a Veeam variable.
david.domask
Veeam Software
Posts: 2810
Liked: 641 times
Joined: Jun 28, 2016 12:12 pm
Contact:

Re: Reverse Incremental to Forever Forward (script)

Post by david.domask » 1 person likes this post

Hi RubinCompServ,

Thanks for sharing the script, I'm sure it will be handy for quite a few people. Nothing to add on the script, simple but effective!

And yeah, Syntethic is a bit of a known bugbear in the scripting, and I think this is one of just a small few places where it's used. Appreciate you bearing with the typo :)
David Domask | Product Management: Principal Analyst
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 28 guests