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

Can I build my XF test site - then remove the data and re-import to my "live" site?

Discussion in 'XenForo Pre-Sales Questions' started by CyclingTribe, Aug 24, 2011.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    Is it possible to setup a test XF install, import data, create a style, make changes, etc. - then, when it's all ready to go, blank the data and re-import and "go live"?

    Or would I need to reinstall and re-do any changes I'd made?

    Shaun :D
  2. Edrondol

    Edrondol Well-Known Member

    I tried this and did it three times. The issue I found was that it tripled things like likes, post counts, etc. There's probably a way to stop this, but it was too late for me.
  3. jonsidneyb

    jonsidneyb Well-Known Member

    I had asked about this but some people told me it couldn't be done. I would like to be able to do this when it comes time to move.

    Actually if I could do this I would have the new site 90% ready just waiting on a couple of add ons.
  4. Edrondol

    Edrondol Well-Known Member

    It can be done, but you have to be sure to go into your DB and clear out all the incremental items like post count, likes, etc.
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Repeating an import will duplicate content, as mentioned here: http://xenforo.com/help/importing/

    The way to do it is as follows:

    Install XenForo.
    Create the style.
    Set up any options, trophies, media BB Code, etc. (even groups and forums if you wish, as I did).
    Install any add-ons.
    Take a backup and keep it as your clean master installation.

    Then you can import, test, reload your master backup and import again as many times as you wish until you are ready to do it for the final time.

Share This Page