Skip to content
Luca Dell'Oca Principal Cloud Architect @Veeam
Virtual To The Core Virtual To The Core

Virtualization blog, the italian way.

  • Media
  • About me
Virtual To The Core
Virtual To The Core

Virtualization blog, the italian way.

Change all your Veeam backup jobs to the new forward forever-incremental

Luca Dell'Oca, November 24, 2014December 4, 2016

When you upgrade Veeam Backup & Replication to V8, you have available the new Forward forever-incremental mode for your backups. This is the default method for all newly created jobs, but the alredy existing backup jobs are not changed, because we do not want to change the user experience or create issues to I/O profiles, backup windows and such.

If you want to leverage the new method, you simply have to edit your existing jobs and change their configuration. If it’s already a forward incremental job, you simply have to remove the scheduled weekly active or synthetic full. If it’s a reversed, you need to switch to the new mode. In any case, the existing retention will be preserved until it’s expired, and afterwards the new backup chain will be the only left into your backup repository.

But what if you have a large amount of jobs, and you want to reconfigure all of them? The manual edit could be cumbersome and take time, and also you risk to forget some of the jobs.

We have some great guys at Veeam, and from time to time they create some neat scripts and tools. This time, Preben Berg created this great powershell script, that will take all your existing forward incremental backup jobs and reconfigure them to use the new forward forever-incremental mode. Just run it against your Veeam Backup & replication server, and all your job will be reconfigured in few seconds.

Note that reversed incrementals will not be impacted by the script.

Great job Preben!

# Get all backup jobs

$jobs = Get-VBRJob | Where-Object { $_.IsBackup -eq $true }

foreach ($job in $jobs) {
    # Read current job settings
    $options = $job.GetOptions()

    # Select forward incremental
    $options.BackupTargetOptions.Algorithm = "Increment"

    # Disable synthetic fulls
    $options.BackupTargetOptions.TransformFullToSyntethic = $false
    # Disable transform previous chain into rollbacks
    $options.BackupTargetOptions.TransformIncrementsToSyntethic = $false
    # Disable active fulls
    $options.BackupStorageOptions.EnableFullBackup = $false

    # Apply new settings
    # UNCOMMENT THE FOLLOWING LINE TO ACTUALLY APPLY SETTINGS
    # $options = Set-VBRJobOptions -Job $job -Options $options

    Write-Host "Changed settings for" $job.Name
}

 

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to email a link to a friend (Opens in new window) Email
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
Tech backupeditforward forever-incrementaljobspowershellreplicationv8veeam

Post navigation

Previous post
Next post

Search

Sponsors

Latest Posts

  • Migrate WSL (Windows Subsystem for Linux) to a new computer
  • Pass keystrokes to a pfSense virtual machine to install it automatically
  • Automatically deploy pfSense with Terraform and Ansible
  • My Automated Lab project: #6 Create a S3 Bucket with Terraform
  • My Automated Lab project: #5 Deploy a Linux vSphere VM with Terraform and custom disks
©2025 Virtual To The Core | WordPress Theme by SuperbThemes
We use cookies to ensure that we give you the best experience on our website, and to collect anonymous data regarding navigations stats using 3rd party plugins; they all adhere to the EU Privacy Laws. If you continue to use this site we will assume that you are ok with it.OkNoPrivacy Policy