Add duration info in getBackupInfo
Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By stsimb

Thread: Add duration info in getBackupInfo

  1. #1
    Senior Member
    Join Date
    Oct 2013
    Posts
    70

    Add duration info in getBackupInfo

    It would be really nice if the duration of the last Scan and Purge operations was recorded in the getBackupInfo command..

    It is already recorded in the powerstore operation, lastMoveDuration..
    Code:
    [zimbra@zm-mbox-01 ~]$ zxsuite powerstore getVolumeStats 3 
    
            volume                                  
                id                                                      3
                name                                                    mail-archive-mbox01
                path                                                    /mail-archive/mbox01
                compressed                                              true
                threshold                                               4096
                lastMoveOutcome                                         Failed
                lastMoveTimestamp                                       22-10-2014 at 18:00:00
                lastMoveDuration                                        4 minutes, 18 seconds
                lastItemMovedCount                                      3094
                bytesSaved                                              51 GB
                bytesSavedLast                                          59 MB
    The notification about completion of Scan and Purge has this info, but it not recorded/displayed in getBackupInfo.

    example notification & getBackupInfo
    Code:
    [zimbra@zm-mbox-01 ~]$ zxsuite core getnotification id 9135c9ba-8a02-4c35-8264-c761a7027dd8
    ...
    Operation Smart Scan Completed.
    ...
    Operation Start Time: 22/10/2014 00:11:07
    Operation Duration: 2 hours, 9 minutes, 28 seconds
    ...
    
    [zimbra@zm-mbox-01 ~]$ zxsuite core getnotification id d1889ea4-c16d-4ab8-b3ce-fb25b312b7f3
    ...
    Operation Purge Completed.
    ...
    Operation Start Time: 18/10/2014 19:38:37
    Operation Duration: 1 day, 12 hours, 24 minutes, 29 seconds
    ...
    
    [zimbra@zm-mbox-01 ~]$ zxsuite backup getBackupInfo
    
            exists                                              true
            readable                                            true
            valid                                               true
            empty                                               false
            lockok                                              true
            writable                                            true
            caseSensitive                                       true
            backupStat                              
                scan                                    
                    numCheckedAccounts                                          122
                    lastZeXtrasBuild                                            3059c6f79b2810b3bec750378cc1ea78a2e5f5e0
                    lastZeXtrasVersion                                          1.8.18
                    numUpAccounts                                               39
                    firstScan                                                   2013-10-02 01:46:34 EEST
                    numSkippedAccounts                                          0
                    firstZimbraVersion                                          8.0.4
                    numCheckedItems                                             69598
                    numActiveBackupedAccounts                                   122
                    numDeletedItems                                             8199
                    firstZeXtrasVersion                                         1.8.9
                    lastScan                                                    2014-10-22 00:11:07 EEST
                    numNewItems                                                 39
                    firstZeXtrasBuild                                           304e6998fee98f98b81d384008ddf86b137ff839
                    numNewAccounts                                              0
                    numBackupedItems                                            273050
                    numDeletedAccounts                                          4
                    lastZimbraVersion                                           8.0.8
                    itemsPerSecond                                              8
                    numUpItems                                                  32228
                    numContentFiles                                             1
                purge                                   
                    numPurgedItems                                              763032
                    numCheckedAccounts                                          124
                    numPurgedAccounts                                           0
                    itemsPerSecond                                              35
                    numCheckedItems                                             4654454
                    numPurgedServerConf                                         1
                    numPurgedDigests                                            553794
                    numTotalAccounts                                            0
            dataPath
    d0s0n likes this.

  2. #2
    ZeXtras Community Manager ZeXtras Employee Cine's Avatar
    Join Date
    Apr 2011
    Posts
    2,364
    Hello stsimb!

    The Head Dev just told me that this is one of the improvements slotted for ZeXtras Suite 2.0.0, so it's just a matter of time before it's implemented

    Have a nice day,
    Cine
    the ZeXtras Team

  3. #3
    Senior Member
    Join Date
    Oct 2013
    Posts
    70
    No timeslot for this yet? Ok, we will wait :-)

    In the mean time, I calculate it using numBackupedItems/itemsPerSecond which gives me the approximate duration in seconds.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •