XF 1.5 Reducing the size of a test environment

Joe Link

Well-known member
We have a fairly large forum with a 4GB database and 12GB's of attachments. I'm looking for a good way to prune a large portion of this data from our test install, particularly most of the attachments.

What's the best way to achieve this?
 
For the database you can look at the largest tables and determine whether any of them can be pruned.
Possible candidates would be xf_edit_history, xf_ip, xf_bb_code_parse_cache (if enabled).

You can also truncate the xf_search_index, if you aren't using Enhanced Search.

For the server files, you can omit the attachments directories.
 
Top Bottom