-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Want to capture running jobs by "session type" i.e SOBR-Tiering
Hi @sykerzner,
The item I mentioned for the fix was to allow the .NET Reflection to work; can you elaborate more on what is not working? Is it returning errors or just you're not certain on how to find specific information?
The item I mentioned for the fix was to allow the .NET Reflection to work; can you elaborate more on what is not working? Is it returning errors or just you're not certain on how to find specific information?
David Domask | Product Management: Principal Analyst
-
- Service Provider
- Posts: 45
- Liked: 2 times
- Joined: Jul 27, 2020 1:16 pm
- Full Name: SYK
- Contact:
Re: Want to capture running jobs by "session type" i.e SOBR-Tiering
This feels like a workaround, but I found that I can get the VM name using the ID, from the logs in C:\programdata\SOBR*\etc.....
I did not (yet) put this in the script, but at least I have the data available
I did not (yet) put this in the script, but at least I have the data available
-
- Service Provider
- Posts: 7
- Liked: never
- Joined: Sep 21, 2022 3:33 pm
- Contact:
Re: Want to capture running jobs by "session type" i.e SOBR-Tiering
Hi all, the script you wrote it also works with postgres? I have a VEEAM 12.x new installation with postgres and i need to monitor SOBR offline
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Want to capture running jobs by "session type" i.e SOBR-Tiering
Hi,
Depends on which script you mean, there are several in this topic. The sql query won't work as it is - it's for MS SQL. Other scripts with .NET and Powershell should work with postgres as they are not tied to config DB type of VBR server.
Best regards,
Oleg
Depends on which script you mean, there are several in this topic. The sql query won't work as it is - it's for MS SQL. Other scripts with .NET and Powershell should work with postgres as they are not tied to config DB type of VBR server.
Best regards,
Oleg
-
- Novice
- Posts: 3
- Liked: 1 time
- Joined: Dec 12, 2014 12:44 pm
- Full Name: Piotr Kurzeja
- Contact:
Re: Want to capture running jobs by "session type" i.e SOBR-Tiering
I am looking as well some way to monitor SOBR sessions and couple other parameters.
using Get-VBRSession and Get-VBRTaskSession I can track status of SOBR sessions but apart from that I'd like to monitor used space in the Azure blob storage that is provisioned as capacity tier of Scale out repository.
Is there a way to get Azure Blob Repository used space and repository Limit object storage consumption information using powershell?
I
using Get-VBRSession and Get-VBRTaskSession I can track status of SOBR sessions but apart from that I'd like to monitor used space in the Azure blob storage that is provisioned as capacity tier of Scale out repository.
Is there a way to get Azure Blob Repository used space and repository Limit object storage consumption information using powershell?
I
-
- Novice
- Posts: 3
- Liked: 1 time
- Joined: Dec 12, 2014 12:44 pm
- Full Name: Piotr Kurzeja
- Contact:
Re: Want to capture running jobs by "session type" i.e SOBR-Tiering
I'll post here some information for anyone who will be looking for similar reports.
Code: Select all
$scaleout = Get-VBRBackupRepository -ScaleOut
$LastDaySessions = Get-VBRSession -Type ArchiveBackup |Where-Object {$_.CreationTime -ge (Get-Date).adddays(-1)}
$taskSession = $LastDaySessions |Get-VBRTaskSession
$SuccessCount = ($LastDaySessions |Where-Object {$_.Result -eq "Success"}).count
$objectRepo = Get-VBRObjectStorageRepository | where {$_.Type -eq 'AzureBlob'}
$BlobUsage = [Veeam.Backup.Core.CArchiveRepository]::GetTotalUsedSize($objectRepo.Id)
$TotalUsage = [math]::Round([Veeam.Backup.Core.CArchiveRepository]::GetTotalUsedSize($objectRepo.Id)/ 1GB)
#Transferred last day
foreach ($task in $taskSession) {$TransferredCount += $task.Progress.TransferedSize }
$TransferredCount = [math]::Round($TransferredCount/1Gb ,2 )
}
Who is online
Users browsing this forum: No registered users and 8 guests