Kaseya Community

Script to show increased backup size over time?

  • is there a Script to show increased backup size over time?

    Legacy Forum Name: Script to show increased backup size over time?,
    Legacy Posted By Username: mwhite
  • Here's one that I used to test an exchange log directory...

    You should be able to modify it for the size of your back up dir...

    run once a day,

    Also note the /-c switch, that removes the commas in the output for log parsing... I would remove that switch if you want to crank out a report.


    Script Name: CT-EXCH01 Log Size
    Script Description: Checks total size of exchange logs

    IF True
    THEN
    Write Script Log Entry
    Parameter 1 : Exchange Script started
    OS Type : 0
    Execute Shell Command
    Parameter 1 : dir "C:\Program Files\Microsoft\Exchange Server\Mailbox\First Storage Group" /-c | find "File(s)" >>#vAgentConfiguration.AgentTempDir#\logSize.txt
    Parameter 2 : 1
    OS Type : 0
    Get Variable
    Parameter 1 : 1
    Parameter 2 : #vAgentConfiguration.AgentTempDir#\logSize.txt
    Parameter 3 : logSize
    OS Type : 0
    Write Script Log Entry
    Parameter 1 : Exchange log is - #logSize#
    OS Type : 0
    ELSE


    Legacy Forum Name: BU-DR,
    Legacy Posted By Username: thirteentwenty