[opencms-dev] How to export a site to another machine?

Jan Meier jan.meier at zmnh.uni-hamburg.de
Thu Jan 19 11:35:51 CET 2006


Hi Thierry,

if the second server runs opencms too, you can duplicate the database.
For example with mysql you can do the following:

on the development server: mysqldump -u root -p opencms > opencms.sql
on the server outside: mysql -u root -p opencms < opencms.sql
After this both machines will have the same opencms database.

The other possibility is to export the module with the templates in the 
Administration menu and to export the databse in Administration->Database 
Management. And import them on the second server.

Regards,
Jan


Am Donnerstag 19 Januar 2006 11:13 schrieb Thierry Collogne:
> Hi,
>
> I am fairly new to opencms. I want to create a site, but this site will be
> created on a different machine that the one where the site will be
> accessible from outside.
>
> The website will first be developed on a develop server. When the first
> version is done, the site needs to be transfered to an other machine where
> it will be accessible from the outside and where it will be maintained.
>
> In opencms I have found the feature for exporting a module, but how do I
> export a site?
> How do I get a site from one mahine to the other?
>
> Any help would be gratefully appreciated,
>
> Thierry
>
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list