PowerShell script exchange
Post Reply
DanielJ
Service Provider
Posts: 239
Liked: 44 times
Joined: Jun 10, 2019 12:19 pm
Full Name: Daniel Johansson
Contact:

A way to get read/written data per backup file

Post by DanielJ »

Is there any link between session info and storage info? I am looking for a way to find out which session id each file was created by. I would use this to find out how much data was actually read/written for each backup file. I can look at Info.Stats for a file, but for synthetic fulls that will only give me the totals for the synthetic full, not how much data was read/written (incrementally) before the full was synthesized. This can be found in the info for the session which created the file. This would be useful to find out how much "protected data" we have for each job - how much has been read from source to create the backups we have currently. And it would also reveal how much disk space the backup actually takes up before block cloning. If there is no way to find info on "session per storage" today, please take this as a feature request. It should be easy to implement as a new field, for example CreatedBySession, for each storage (returned by GetAllStorages()), and put the session id in that field. Or some new fields below Info.Stats that showed this data directly, even for synthetic fulls, which would avoid having to rely on session data still being available.
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 669 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: A way to get read/written data per backup file

Post by oleg.feoktistov » 1 person likes this post

Hi Daniel,

There is, unfortunately, no relation between sessions and storages created except for CreationTime and EndTime, but these are quite implicit. So, I'll take it as a feature request.

Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: GaborCs, Google [Bot] and 17 guests