[opencms-dev] Cannot successfully copy site to a new host

Arash Kaffamanesh arash.kaffamanesh at pomegranate.de
Tue Jun 7 23:26:07 CEST 2005


Hi,

Did you try to dump and restore your db.

That works for me too (beside the export / import tool of backoffice):

I copy the opencms webapp via scp to my windows tomcat and restore a
dumped sql file:

Dump:

mysqldump -u<username> -p<password> opencms6b3 > <output file>

Restore:

mysql -u<username> -p<password> opencms6b3 < <input file>

Regards,
Arash






-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Markus Daniel
Sent: Dienstag, 7. Juni 2005 22:38
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Cannot successfully copy site to a new host


Brett Cawrse wrote:
> Hi,
> 
> I'm having trouble 'replicating' an OpenCMS instance to use as a 
> parallel development environment. Our production system uses OpenCMS 
> v5.36 on Apache / Unix, and I need to create a copy on a Win XP 
> development box. I have tried exporting all modules from production, 
> and importing them into the dev environment - all successfully. Then I

> create database exports (using the OpenCMS DB export function) of our 
> two sites, and import them on my WinXP box, again successfully. The 
> problem comes when I try to publish the site, I get errors in a bunch 
> of pages that a resource cannot be found (exact error copied below). 
> Does anyone have any ideas and/or can you suggest a better way for me 
> to make a complete copy of our OpenCMS site on another system?
> 
Hi Brett,
as far as I know the tablenames are different from windows to linux, I 
don't know why...

in one case you have the tablenames in upper case and in the another
not...

I suggest to use a Linux DesktopComputer instead of a Win XP or change 
the tablenames in your dumpFile (vim/gvim ~ ;-))
I changed the tablenames.

HTH,
Markus


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list