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

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

eZ debug

Timing: Jan 18 2025 16:19:41
Script start
Timing: Jan 18 2025 16:19:41
Module start 'layout'
Timing: Jan 18 2025 16:19:41
Module start 'content'
Timing: Jan 18 2025 16:19:42
Module end 'content'
Timing: Jan 18 2025 16:19:42
Script end

Main resources:

Total runtime0.4706 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.1875152.6406
Module start 'layout' 0.00520.0025 741.828139.4766
Module start 'content' 0.00770.4614 781.3047576.5391
Module end 'content' 0.46920.0013 1,357.843812.1250
Script end 0.4705  1,369.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.6360160.0002
Check MTime0.00130.2784160.0001
Mysql Total
Database connection0.00070.150210.0007
Mysqli_queries0.421389.5226590.0071
Looping result0.00050.1016570.0000
Template Total0.445494.720.2227
Template load0.00200.419720.0010
Template processing0.443494.236420.2217
Template load and register function0.00010.024510.0001
states
state_id_array0.00070.156010.0007
state_identifier_array0.00080.165420.0004
Override
Cache load0.00170.3594420.0000
Sytem overhead
Fetch class attribute can translate value0.00040.094430.0001
Fetch class attribute name0.00090.192840.0002
XML
Image XML parsing0.00080.163230.0003
class_abstraction
Instantiating content class attribute0.00000.001740.0000
General
dbfile0.00090.1817160.0001
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs