https://wiki.zimbra.com/index.php?title=How_to_delete_index_data&feed=atom&action=historyHow to delete index data - Revision history2024-03-29T00:44:07ZRevision history for this page on the wikiMediaWiki 1.39.0https://wiki.zimbra.com/index.php?title=How_to_delete_index_data&diff=68362&oldid=prevNavdeep Mathur: Created page with "{{KB|{{ZC}}|{{ZCS 8.7}}|{{ZCS 8.8}}|{{ZCS 9.0}}||||}} {{WIP}} == Remove index data user wise == '''Process''' * Get the exact location of user's index data. * Delete only..."2021-08-18T23:06:39Z<p>Created page with "{{KB|{{ZC}}|{{ZCS 8.7}}|{{ZCS 8.8}}|{{ZCS 9.0}}||||}} {{WIP}} == Remove index data user wise == '''Process''' * Get the exact location of user's index data. * Delete only..."</p>
<p><b>New page</b></p><div>{{KB|{{ZC}}|{{ZCS 8.7}}|{{ZCS 8.8}}|{{ZCS 9.0}}||||}} <br />
{{WIP}}<br />
<br />
== Remove index data user wise ==<br />
<br />
'''Process'''<br />
<br />
* Get the exact location of user's index data.<br />
* Delete only data using 'rm-rf' command and not directories<br />
* Execute the reindex command to re-create index data.<br />
<br />
<br />
'''Following are the exact steps to remove and re-create the index data'''<br />
<br />
* Pick user 'user@example.com' and obtain the mailbox ID:<br />
<br />
zmprov gmi user@example.com<br />
<br />
* Once you got the ID, for example '13', then the location of the index data would be:<br />
<br />
/opt/zimbra/index/0/13/index/0<br />
<br />
If ID is 14, then the location would be :<br />
<br />
/opt/zimbra/index/0/14/index/0<br />
<br />
* Now required to remove data from '/opt/zimbra/index/0/13/index/0/' location.<br />
<br />
rm -rf /opt/zimbra/index/0/13/index/0/*<br />
<br />
* Reindex account. <br />
<br />
zmprov rim user@example.com start<br />
<br />
It will regenerate the index for "user@example.com" account.<br />
<br />
* To know the status of reindex<br />
<br />
zmprov rim user@example.com status<br />
<br />
<br />
{{SubmittedBy|Navdeep Mathur}}<br />
<br />
{{Article Footer|ZCS 8.8|2021-08-19}}</div>Navdeep Mathur