How to delete index data

Revision as of 23:06, 18 August 2021 by Navdeep Mathur (talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
   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