• 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?

CTXMedia

Formerly CyclingTribe
#1
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?

Cheers,
Shaun :D
 

Edrondol

Well-known member
#2
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.
 

jonsidneyb

Well-known member
#3
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.
 

Edrondol

Well-known member
#4
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.
 

Brogan

XenForo moderator
Staff member
#5
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.