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

XF 1.2 Temporary test site for users?

Discussion in 'XenForo Questions and Support' started by trizz, Jan 13, 2014.

  1. trizz

    trizz Active Member

    Before I fully migrate from vB over to xF, Id like to make an early release/test setup available to my users to let them play with xF in advance.

    Whats the best method to create this sort of environment, yet blow away all posts every 24 hrs? Is it as simple as dropping a table of posts, PMs, etc via a cronjob? Id like to maintain settings, but remove any content, public or private, every 24 hrs.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. trizz

    trizz Active Member

    thanks @Brogan so instead of dropping specific tables, just restore a clean DB every 24 hrs and off i go. sounds easy enough!
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, it's the simplest way.

    Don't forget to also empty the data and internal_data directories of avatars and attachments.
     
    trizz likes this.
  5. trizz

    trizz Active Member

    will elasticsearch automagically remove anything it has cached, or does that need to be dumped as well?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    You can delete the index from the ACP: admin.php?elasticsearch/
     
  7. trizz

    trizz Active Member

    any way to do that via a cronjob?
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Possibly, it's not something that's ever been asked so I have never looked into it.
     

Share This Page