Any way to filter the VCC server's History of job sessions in PowerShell?
In the GUI one can go to
History>Cloud Connect > Replica
But here it is only posible to search on jobname and not e.g. TenantName. I am looking for a more filteret aproach. Is this posible?
-
- Service Provider
- Posts: 40
- Liked: 5 times
- Joined: Nov 30, 2020 12:48 pm
- Full Name: Daniel Gram Knudsen
- Contact:
-
- Product Manager
- Posts: 9848
- Liked: 2607 times
- Joined: May 13, 2017 4:51 pm
- Full Name: Fabian K.
- Location: Switzerland
- Contact:
Re: VCC Replica Job History
Hi Daniel
I can't find a direct powershell command.
Can you tell me a little bit more about your goal?
Is this for monitoring purposes?
Thanks
Fabian
I can't find a direct powershell command.
Can you tell me a little bit more about your goal?
Is this for monitoring purposes?
Thanks
Fabian
Product Management Analyst @ Veeam Software
-
- Veeam Software
- Posts: 2123
- Liked: 513 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: VCC Replica Job History
There aren't any supported Powershell cmdlets at this time for checking Provider-side Session results.
As an unsupported workaround, you can use the following. Note that this is has the potential to change in future updates and Support does not provide assistance with unsupported methods.
This will return Replica Sessions as CCloudSession objects which have most of the same properties as a CBackupSession Object.
You can check other Types with $sess.CloudType.GetType().GetEnumNames() (just run this on a saved session and you'll get all the ENums)
As an unsupported workaround, you can use the following. Note that this is has the potential to change in future updates and Support does not provide assistance with unsupported methods.
Code: Select all
$sess = [Veeam.backup.core.CCloudSession]::GetAll() |Where-Object {$_.CloudType -eq 'Replica'}
You can check other Types with $sess.CloudType.GetType().GetEnumNames() (just run this on a saved session and you'll get all the ENums)
Code: Select all
Restore Type Job Name State Start Time End Time Description
------------ -------- ----- ---------- -------- -----------
Cloud vcc-replica Stopped 7/7/2022 11:04:10 AM 7/7/2022 11:10:28 AM
David Domask | Product Management: Principal Analyst
-
- Service Provider
- Posts: 40
- Liked: 5 times
- Joined: Nov 30, 2020 12:48 pm
- Full Name: Daniel Gram Knudsen
- Contact:
Re: VCC Replica Job History
Thanks. Will look into it.
Who is online
Users browsing this forum: No registered users and 11 guests