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

eZ debug

Timing: Jan 18 2025 11:45:44
Script start
Timing: Jan 18 2025 11:45:44
Module start 'content'
Timing: Jan 18 2025 11:45:45
Module end 'content'
Timing: Jan 18 2025 11:45:45
Script end

Main resources:

Total runtime0.8136 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 589.0078180.8047
Module start 'content' 0.00930.6791 769.8125581.6328
Module end 'content' 0.68840.1251 1,351.4453332.7344
Script end 0.8136  1,684.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00480.5881210.0002
Check MTime0.00180.2193210.0001
Mysql Total
Database connection0.00150.188810.0015
Mysqli_queries0.733690.16161960.0037
Looping result0.00190.23311940.0000
Template Total0.776795.520.3884
Template load0.00270.337520.0014
Template processing0.774095.128420.3870
Template load and register function0.00020.026710.0002
states
state_id_array0.00100.127310.0010
state_identifier_array0.00070.091920.0004
Override
Cache load0.00230.2884420.0001
Sytem overhead
Fetch class attribute can translate value0.00190.234340.0005
Fetch class attribute name0.00120.149940.0003
XML
Image XML parsing0.00150.182240.0004
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00230.2865270.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 28
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs