Help with college project - migrating site

Help with college project - migrating site

Tuesday 27 September 2005 11:10:32 am - 2 replies

Modified on Tuesday 27 September 2005 12:14:59 pm by Simon Casey

Author Message

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

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.