Re: How to import and export a site

Stéphane Croisier <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Message-ID <[email protected]>
Hi,

For the moment you can't. You will have conflicts between, for example, 
your Jahia pages id (pid). On both servers you risk to have the same pid 
used for other pages (and this is just one of the problems). So in order to 
import a new virtual site on top of another Jahia server with already 
existing virtual sites, we will need to reassign on the fly the unique 
identifiers such as the pids (and parse all the big texts in order to 
detect all the hardcoded internal links and repoint them dynamcially to the 
new pid). So currently you need to have an exact copy of the full server 
stack in dev and in prod.

BTW: It is NEVER recommended to move the development database to the 
production server. Ideally only your set of templates, once 100% tested, 
should move to the production server. All your "real" content should then 
be entered directly in the production database. Else you risk to have a 
corrupted and polluted database in production (as usually you often crash, 
hard-reboot, test non working template code, etc on the dev server which 
may impact and then corrupt the database).

Stéphane

P.S: As mentionned in a previous mail, we are now working on a new generic 
import/export API feature. But this will only be available in the next 
major release.

At 07:25 25/01/2005, you wrote:
>Dear All,
>Suppose I have three sites running on one Jahia instance,now  I want to 
>add a new site in the jahia instance.The new site has been build on  the 
>development machine.How can I move the site from the development machine 
>to the production one.
>
>Best regards
>Tiger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.