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

XF 1.5 Clean Up or Prune Attachments

Discussion in 'XenForo Questions and Support' started by jordanr, Aug 11, 2016.

  1. jordanr

    jordanr Member

    My internal data folder is 19 GB on socaltrailriders.org.

    This size makes the site time consuming to move and more expensive to host.

    Is there a good way to prune or clean up what is there in the internal data directory?

    I converted from vB. I wonder if there are duplicated or useless files I am hosting.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The data and internal_data directories are specific to XF - they are unlikely to have any relevance to VB.

    Anything you delete from those directories is going to affect your XF installation and result in missing images.
     
  3. jordanr

    jordanr Member

    Is there a way to prune older images?

    I am surprised we have so many attachments, but I guess we do.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    You can use the Attachment Browser function in the ACP to do that.
     
  5. AndyB

    AndyB Well-Known Member

    What do you mean by this?
     
  6. AndyB

    AndyB Well-Known Member

    Shouldn't be an issue.
     
  7. jordanr

    jordanr Member

    Moving hosts and yes it is more expensive...

    I am thinking I could run a script and say resize all images over 1 MB down to 1 MB and see if that helps....always seems bad to remove member content.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    The script would also need to update the database entries, as the size data is stored per attachment.
     
  9. jordanr

    jordanr Member

  10. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to post in the resource thread for support with it.
     
  11. jordanr

    jordanr Member

    Ok. Thank you again.
     

Share This Page