Add duration info i...
 
Notifications
Clear all

Add duration info in getBackupInfo

1 Posts
1 Users
0 Reactions
378 Views
(@stsimb)
Posts: 20
Topic starter
 

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

 
Posted : 10/22/2014 21:07