Developer Forum »
Move a site out of an existing installation?
11 posts

What is the best practise to move a site out of an existing installation?

I have an installation with over 20 sites, where all of the sites use the same templates etc. Now I would like to move one of them out of the installation. 

What is the best practise? I need to clean the DB, and only keep the data which are related to the specific site. 

 

 

181 posts

At the moment there isn't a very good solution for this. We will support things like this in the kit system we are currently working on. 

Until the kit system is finished, the best solution is to download the whole installation, and manually remove the content from the other sites.

11 posts

I found an alternative solution, but I'm not sure what is the easiest way.

What I did was to create a new installation, copy the definition file from original site and rebuild.

Thereafter I used the download kit funcion in Webnodes, selected all of the content except the root node. Then I uploaded it in the new site. I tried to also include the root node, but then I got a culture error that I couldn't solve. After the kit was uploaded I had to set parents to all nodes on the first level under root. 

Unfortunately there are a few other disadventages: You need to generate the templates in Webnodes, set new icons, the create date is set to today.

1