Hi Alberto,
you are talking about an existing zextras feature, the doItemSearch CLI command:
Code:
~$ zxsuite help backup doItemSearch
Syntax:
zxsuite backup doItemSearch {account} [attr1 value1 [attr2 value2...]]
PARAMETER LIST
NAME TYPE EXPECTED VALUES DEFAULT
account(M) Account Name/ID
backup_path(O) String /opt/zimbra/backup/zextras/
id(O) String
search_string(O) String "Case sensitive string"
before(O) Date "dd/MM/yyyy HH:mm:ss"
after(O) Date "dd/MM/yyyy HH:mm:ss"
verbose(O) Boolean true|false false
(M) == mandatory parameter, (O) == optional parameter
Usage example:
zxsuite backup doitemsearch john@example.com verbose true
Shows all of John's items, displays metadata of each message as well
This function is intentionally not present on GUI, because it's absolutely not optimized, as the backup path is not indexed (there isn't any DB inside Zextras Backup), so this operation is very I/O intensive.
Your feedback will be greatly appreciated, but before bringing this function in GUI, a whole zxbackup rewriting will be required (version 2.0).
Have a nice day!
D0s0n
Bookmarks