Forum Discussion

dlt1928's avatar
dlt1928
Level 3
13 years ago

Total byte count

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

  • 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.

  • 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.

  • 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