Find out when an item has been deleted through ZeXtras Backup

After an item has been completely deleted (i.e. deleted from the Trash folder) the 'deleted' flag in the item's ZeXtras Backup metadata is set to 'true': using the zxsuite backup getItem CLI command will display by default the last item state:

zimbra@test:~$ zxsuite backup getItem

Syntax:
zxsuite backup getItem {account} {item} [attr1 value1 [attr2 value2...]]

PARAMETER LIST NAME TYPE EXPECTED VALUES DEFAULT
account(M) Account Name/ID
item(M) Integer
backup_path(O) Path /opt/zimbra/backup/zextras
dump_blob(O) Boolean true|false false
date(O) Date dd/mm/yyyy hh:mm:ss|all last

(M) == mandatory parameter, (O) == optional parameter

Usage example: zxsuite backup getitem a7300a00-56ec-46c3-9773-c6ef7c4f3636 1
Shows item with id = 1 belonging to account a7300a00-56ec-46c3-9773-c6ef7c4f3636

if the item is marked as 'deleted', the 'start_date' entry in the output will display the deletion date and time.

Have more questions? Submit a request

0 Comments

Article is closed for comments.