How to delete index data

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
   KB 24343        Last updated on 2021-08-18  




0.00
(0 votes)


Remove index data user wise

Process

  • Get the exact location of user's index data.
  • Delete only data using 'rm-rf' command and not directories
  • Execute the reindex command to re-create index data.


Following are the exact steps to remove and re-create the index data

  • Pick user 'user@example.com' and obtain the mailbox ID:
zmprov gmi user@example.com
  • Once you got the ID, for example '13', then the location of the index data would be:
/opt/zimbra/index/0/13/index/0

If ID is 14, then the location would be :

/opt/zimbra/index/0/14/index/0
  • Now required to remove data from '/opt/zimbra/index/0/13/index/0/' location.
rm -rf /opt/zimbra/index/0/13/index/0/*
  • Reindex account.
zmprov rim user@example.com start

It will regenerate the index for "user@example.com" account.

  • To know the status of reindex
zmprov rim user@example.com status


Submitted by: Navdeep Mathur
Verified Against: ZCS 8.8 Date Created: 2021-08-19
Article ID: https://wiki.zimbra.com/index.php?title=How_to_delete_index_data Date Modified: 2021-08-18



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Jump to: navigation, search