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

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

$
0
0
Hey guys, we seem to be having a similar issue. We are trying to script the entire process off adding ADLS into Veeam and then backing them up. We're able to add the objects without any issues but are having issues adding them into jobs.

We’ve had the issue that using the ‘New-VBRObjectStorageBackupJobObject’ cmdlet to add the server results in an error in the job

Our script to add these at the moment looks like:
$serv = Get-VBRUnstructuredServer -Name $name
$storageobject = New-VBRObjectStorageBackupJobObject -Server $serv
$repository = Get-VBRBackupRepository -Name $data_repo
$storageoptions = New-VBRStorageOptions -CompressionLevel Optimal -StorageOptimizationType LocalTarget
Add-VBRObjectStorageBackupJob -BackupObject $storageobject -Name $jobName -ShortTermBackupRepository $repository -StorageOptions $storageoptions -ErrorAction Stop

In the GUI, it looks like this, with the job failing:
Image

Just wondering how you guys were able to get around that?

Cheers!

Statistics: Posted by pouya — Jul 24, 2025 1:17 am



Viewing all articles
Browse latest Browse all 9921

Latest Images

Trending Articles



Latest Images