cancel
Showing results for 
Search instead for 
Did you mean: 

Total byte count

dlt1928
Level 3

I’d like to see the TOTAL byte count.  Before….when we could create one job for many servers…. we could see a total byte count for that job.  This would alert me if I had a rogue employee downloading /copying GB’s of whatever but now I have to go through each server to see the total byte count.   Lets say I have 20 servers.  In BE 2010 I basically ran 2 jobs, 1 weekly full and nightly differentials.  At the end of the job it would give me total byte count.  Now I’m running 40 jobs, 20 weekly full and 20 nightly incremental.  Yes, I can run a report that will give me the total of EACH job but I would need to add them up to get a total. 

Or is there indeed a report that will show me the TOTAL of the nightly jobs?

Thanks,

Dlt1928

1 ACCEPTED SOLUTION

Accepted Solutions

pkh
Moderator
Moderator
   VIP    Certified

You can get what you want with a bit of scripting with BEMCLI.  Use the Get-BEJobHistory cmdlet to get the job history.  There is a property called TotalDataSizeBytes.  Summing up this property would give you the total byte count.

View solution in original post

2 REPLIES 2

pkh
Moderator
Moderator
   VIP    Certified

You can get what you want with a bit of scripting with BEMCLI.  Use the Get-BEJobHistory cmdlet to get the job history.  There is a property called TotalDataSizeBytes.  Summing up this property would give you the total byte count.

Russell_Norton
Level 3
Employee

here is a one-liner that will return all successful backup  jobs that ran the previous day and display the jobname and byte count

BEAgentServer | get-BEJobHistory -JobType backup -JobStatus succeeded -FromStartTime((get-date).adddays(-1)) | Format-Table name, totaldatasizebytes, starttime -AutoSize

If you modify the value of the adddays methed it will go back how ever many days from he current date you specify.

example:

(get-date).adddays(-7) wil get the last weeks worth of backps