Quantcast
Channel: R&D Forums
Viewing all articles
Browse latest Browse all 9966

PowerShell • add new Azure blob storage account to existing backupjob with powershell

$
0
0
Hi

I want to add new Azure blob storage accounts to an existing backupjob in VBR via powershell. I try something like:

Code:

$srv = Get-VBRUnstructuredServer -name "StorageAccountName"$object = New-VBRObjectStorageBackupJobObject -Server $srv $job =  Get-VBRUnstructuredBackupJob -name "BKP_Job_01"Set-VBRObjectStorageBackupJob -job $job -BackupObject $object -name "StorageAccountName"
The problem is, that Set-VBRObjectStorageBackupJob does not only add a new object to already existing objects. It "sets" the new object and therefore removes the already existing objects from the job and that is not what I want :-)
Is there a way to "add" additional objects (Azure blob storage accounts in my case) to an existing Unstructured Data object job via powershell?

thx,
sandsturm

Statistics: Posted by sandsturm — Jun 12, 2025 12:48 pm



Viewing all articles
Browse latest Browse all 9966

Latest Images

Trending Articles



Latest Images