-
- Novice
- Posts: 3
- Liked: 1 time
- Joined: Sep 19, 2017 7:58 am
- Full Name: Steve Withington
- Contact:
SOBR Azure Offload Status With Powershell
Hi all
Does anyone know if it's possible to view the last SOBR Azure Offload status with PowerShell in version 9.5? The capacity tier offload isn't a standard job and the status is only available in system history.
Many thanks in advance
Does anyone know if it's possible to view the last SOBR Azure Offload status with PowerShell in version 9.5? The capacity tier offload isn't a standard job and the status is only available in system history.
Many thanks in advance
-
- Veeam Software
- Posts: 1912
- Liked: 635 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: SOBR Azure Offload Status With Powershell
Hi Steve,
Currently there is no supported way to do that.
However, you may have a try calling .NET types directly in the following way:
I'm not sure if this method works for 9.5 though. Don't have previous version at my disposal to test it.
Best regards,
Oleg
Currently there is no supported way to do that.
However, you may have a try calling .NET types directly in the following way:
Code: Select all
$sobrOffload = [Veeam.Backup.Model.EDbJobType]::ArchiveBackup #This type corresponds to SOBR Offload job
$job = [Veeam.Backup.Core.CBackupSession]::FindLastByJobType($sobrOffload)
Best regards,
Oleg
-
- Novice
- Posts: 3
- Liked: 1 time
- Joined: Sep 19, 2017 7:58 am
- Full Name: Steve Withington
- Contact:
Re: SOBR Azure Offload Status With Powershell
That works perfectly, thank you Oleg
-
- Novice
- Posts: 9
- Liked: never
- Joined: Jun 14, 2012 10:36 am
- Contact:
Re: SOBR Azure Offload Status With Powershell
any way to get all sobr tiering sessions from the last 24hours?
-
- Novice
- Posts: 3
- Liked: 1 time
- Joined: Sep 19, 2017 7:58 am
- Full Name: Steve Withington
- Contact:
Re: SOBR Azure Offload Status With Powershell
Hi
Try the following
Try the following
Code: Select all
$sobrOffload = [Veeam.Backup.Model.EDbJobType]::ArchiveBackup #This type corresponds to SOBR Offload job
$jobs = [Veeam.Backup.Core.CBackupSession]::GetByTypeAndTimeInterval($sobrOffload,(Get-Date).adddays(-1), (Get-Date).adddays(1))
write $jobs
Who is online
Users browsing this forum: No registered users and 17 guests