Discussions related to using object storage as a backup target.
Post Reply
rjv1971
Enthusiast
Posts: 30
Liked: never
Joined: Apr 12, 2017 6:21 pm
Full Name: Ron
Location: Columbus
Contact:

SOBR size difference between console and getting info via a powershell script.

Post by rjv1971 »

When I look at the SOBR info in the V B&R console -> Backup infrastructure, it reports it is using 433.5 TB (in Azure)

When I run a Powershell script to get the sizes of backups stored in the SOBR, the total size comes out as 1072 TB

I must be missing something... Is there dedupe / compression uploading to Azure?

Script (thanks @oleg.feoktistov in the Powershell section):

Code: Select all

#specify SOBR
$repo = Get-VBRBackupRepository -Name 'SOBR_NAME' -ScaleOut

#Get all Backup Copy jobs using this SOBR, with no column headers
$backupcopyjobnames = Get-VBRSOBRObjectStorageBackup -CapacityTier  | where {$_.RepositoryId -eq $repo.Id} | foreach { $_.Name } 

#Loop through every Backup Copy jobname and get its SOBR backup info
foreach ($bcpname in $backupcopyjobnames) {
   $backup = Get-VBRSOBRObjectStorageBackup -CapacityTier -Name $bcpname 
   
   #Get SOBR Restore Points for each Backup Copy job
   $rps = Get-VBRSOBRObjectStorageRestorePoint -Backup $backup
   
   #for each restorepoint, get the size+retention
   foreach ($rp in $rps) {
     $storage = [Veeam.Backup.Core.CStorage]::FindByOibId($rp.Id)
     $storage | where {$_.GfsPeriod -eq 'Yearly' -or $_.GfsPeriod -eq 'Monthly' -or $_.GfsPeriod -eq 'Weekly'  -or $_.GfsPeriod -eq 'Monthly, Yearly' -or $_.GfsPeriod -eq 'Weekly, Monthly'} `
  | select FilePath, @{n='BackupSizeGB';e={[Math]::Round($storage.Stats.BackupSize/1GB, 2)}}, GFSPeriod
   }
}
Mildur
Product Manager
Posts: 9523
Liked: 2522 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: SOBR size difference between console and getting info via a powershell script.

Post by Mildur »

Hi Ron

I assume, the script adds together the size of all restore points (vbk +vib).
While the console shows you the physical size used by the backups in your Azure Blob container.

The physical size on object storage it‘s always less than the combined size of all restore points. Because even if you offload multiple vbk files for a machine, we only offload changed and new backup data and not the entire full backup multiple times. You can call it forever forward incremental offload.

Best,
Fabian
Product Management Analyst @ Veeam Software
rjv1971
Enthusiast
Posts: 30
Liked: never
Joined: Apr 12, 2017 6:21 pm
Full Name: Ron
Location: Columbus
Contact:

Re: SOBR size difference between console and getting info via a powershell script.

Post by rjv1971 »

Thanks, that makes sense. Do you know if there's any way go estimate the size of the weekly/monthly/yearly backups on the capacity tier? We are thinking of switching cloud providers and I am asked to come up with the potential egress costs of moving backups from one to the other. The weekly will age off, (Part of) the monthly backups also, but none of the yearlies. I am asked to estimate the egress cost of moving these remaining backups to the new cloud provider.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests