Maintain control of your Microsoft 365 data
Post Reply
JacquesvZ
Service Provider
Posts: 8
Liked: never
Joined: Apr 29, 2019 10:40 am
Full Name: Jacques van Zyl
Contact:

Querying the persistent cache database

Post by JacquesvZ »

Hi

I read up that VBO uses Jet DB. Is there any way for administrators to query the data in the repository or persistent cache databases?

The reporting of VBO really sucks and I'm hoping one would be able to pull some data for better reporting like protected OneDrive, Sharepoint sites, Users etc using Power BI or something of the sort. Silly you cant schedule reports like these to be sent per organization/tenant/client on a daily/weekly/monthly as a service provider.

Literally every client we onboard, this is the first question. What reports can you provide and with what schedule (usually for their auditors)?

Thanks
nielsengelen
Product Manager
Posts: 5958
Liked: 1246 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Querying the persistent cache database

Post by nielsengelen »

You can query data using PowerShell and REST API. Which data are you looking for exactly in terms of reporting to your endusers?
GitHub: https://github.com/nielsengelen
JacquesvZ
Service Provider
Posts: 8
Liked: never
Joined: Apr 29, 2019 10:40 am
Full Name: Jacques van Zyl
Contact:

Re: Querying the persistent cache database

Post by JacquesvZ »

I have only seen the "Get-VBOMailboxProtectionReport" in powershell.

Looking to provide clients with similar reports but for lets say something like protected users, protected onedrive, protected sites etc or even a tenant protection report.
nielsengelen
Product Manager
Posts: 5958
Liked: 1246 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Querying the persistent cache database

Post by nielsengelen » 1 person likes this post

That cmdlet will generate the report as it is in the UI (there are currently 3 reports available). For generating data related to OneDrive and SharePoint, the workaround now is to benefit from PowerShell/REST and build something custom.
GitHub: https://github.com/nielsengelen
JacquesvZ
Service Provider
Posts: 8
Liked: never
Joined: Apr 29, 2019 10:40 am
Full Name: Jacques van Zyl
Contact:

Re: Querying the persistent cache database

Post by JacquesvZ »

Thanks! Will give it a try.

Any idea how to increase the timeout settings for querying with Get-VBOEntityData cmdlet? Seems like the default is 1 minute, I get the follow timeout error for example.

Get-VBOEntityData -Type Site -Repository $repository
Get-VBOEntityData : This request operation sent to net.tcp://127.0.0.1:9191/Repository did not receive a reply within the configured timeout (00:01:00).
The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or
because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel
and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
At line:1 char:1
+ Get-VBOEntityData -Type Site -Repository $repository
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-VBOEntityData], TimeoutException
+ FullyQualifiedErrorId : System.TimeoutException,Veeam.Archiver.PowerShell.Cmdlets.DataManagement.GetVBOEntityData
Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest