1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Reducing the size of a test environment

Discussion in 'Installation, Upgrade, and Import Support' started by Joe Link, Oct 22, 2015.

  1. Joe Link

    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?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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.
    Joe Link likes this.
  3. Joe Link

    Joe Link Well-Known Member

    Thanks for the info.

    To confirm, simply not copying the attachment directories will not cause any problems?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    No, it will just result in no attachments being available.
    Joe Link likes this.

Share This Page