How to restore or preserve Site Statistics

Still need help?

The Atlassian Community is here for you.

Ask the community

Purpose

You've enabled the Viewing Site Statistics to track global, space, and site activity and you'd like to preserve or restore them. 

Note that this feature will be removed in Confluence 8.0. For more information, see CONFSERVER-57612 - Plans to end support for Usage Stats

Solution

The usage data is stored in its own Lucene index which is located in <confluence-home>/index/plugin/usage. To restore the data you'll need a copy of it, e.g. from a backup or a production instance:

  1. Stop Confluence
  2. Copy the <confluence-home>/index/plugin/usage from the backup to the production instance
    1. If you're copying from a production instance, ensure that instance is stopped as well
  3. Go to  > General Config > Content Indexing > Rebuild

You should now be able to see the restored site statistics


Last modified on Jan 29, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.