PowerShell script exchange
Post Reply
SvenP
Influencer
Posts: 14
Liked: never
Joined: Mar 31, 2016 12:53 pm
Full Name: Sven Putze
Contact:

How to select old/incompatible backup chains to Upgrade-VBRBackup

Post by SvenP »

The topic V13 - Deprecated and Discontinued features for our 2025 release raised quite some attention and in preparation for things to come, we want to upgrade all backup chains before V13 even drops.

Since we have a lot of backup jobs, we want to do an upgrade in small batches.

That in turn brings up the question, how do I detect backup chains in an old format and those in an incompatible format, that cannot be upgraded at all. The first question may have been answered this way by trying to convert the first 10 backup chains:

Code: Select all

Get-VbrBackup|Where-Object {$_.IsMetaExist -eq $True -and $_.IsBackup -eq $True -and $_.JobType -eq "Backup" -and $_.IsTruePerVmContainer -eq $False}|Select-Ob
ject -First 10|ForEach-Object { Upgrade-VBRBackup -Backup $_}
But if throws errors for incompatible backup chains that have been created some years ago without the "per VM" settings mainly for space reasons. So how can we select those incompatible backups chains to get a grasp on how much work has to be done before upgrading?
And please don't tell us the only way is trying to convert all and the remaining jobs are the incompatible ones!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest