Forums / Install & configuration / Help with college project - migrating site

Help with college project - migrating site

Author Message

Simon Casey

Tuesday 27 September 2005 11:10:32 am

Hi,
I have installed eZ publish on my windows PC at home, designed a site, and now I would like to migrate it all onto a laptop for a college presentation.

I have installed eZ in on the laptop.
I was told to copy the VAR folder.

I get the setup page, when I want the existing site.
(http://localhost/shop_admin)

A basic guide for a noob would be great.
Thanks in advance.

George Michaelides

Tuesday 27 September 2005 12:02:46 pm

I am fairly new to eZ Publish but here is how i'd do it...

In theory if your database and apache setup is identical, you could copy the entire ez publish directory into the new system and do a database dump from the old to the new.

In non ideal situations, copy the var folder but delete everything under cache as the new system will create its own.

Take a sql dump of new old database and import it into the new one (SQLYog is a good tool)

Copy the contents of the /design and /settings folders to the equivalent places in the new environment.

Note that you must edit the settings of the /settings/siteaccess/<YOUR SITE>/site.ini.append.php file to represent the new environment. The usual suspects are DatabaseSettings, SiteSettings, MailSettings.

www.jegodesigns.com
www.jegodesigns.eu

Jack Rackham

Wednesday 28 September 2005 5:57:51 am

DO this

Old server
-Database:
Mysqldump --opt -u root -p yourdatabase > yourdatabasename.dump

-Files
Go to ezpublish dir
tar -cpzf ezpublish.tar.gz *

New server (laptop)
I presume you have apache and mysql installed

-Database
Mysql -u root -p
create database ezpublish;
grant all on ezpublish.* to youruser@localhost identified by 'yourpassword';
exit

mysql -u youruser -p ezpublish < yourdatabasename.dump

-Files
Create dir ezpublishsometing
Enter dir
Tar zxvf ezpublish.tar.gz

If you have permission problems try this
Chmod -R 777 var/ design/ setting/

For more info http://ez.no/doc/ez_publish/technical_manual/3_6/installation