Moving of eZ publish site to another server

Author Message

Jose Mourinho

Wednesday 14 November 2007 3:12:19 pm

Hello all,

I want to move my eZ publish site to another server.
Will I have problems with moving if i do these steps:
- dump of current database
- insert it in the new server
- copy the files (all eZ directory) to the new location
- config site.ini

Or I have to install a new eZ publish to new server, insert the old database, and import settings storage and design directories.

10x all

Matthew Carroll

Thursday 15 November 2007 11:54:18 am

If you dump / import the database and move the entire ez codebase (including your site settings, design, etc), that should work OK. Just make sure the new server meets the minimum requirements to run ez publish first.

You may want to clear all caches *before* moving, and empty old expired sessions from the database to minimise the size of the files you have to migrate, if the site is large:

bin/php/ezcache.php -s <siteaccess> --clear-all
update/common/scripts/cleanup.php -s <siteaccess> expired_session

Matthew

http://carroll.org.uk

Jose Mourinho

Thursday 15 November 2007 12:19:41 pm

10x very much for information

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 30 2025 21:44:25
Script start
Timing: Jan 30 2025 21:44:25
Module start 'layout'
Timing: Jan 30 2025 21:44:25
Module start 'content'
Timing: Jan 30 2025 21:44:25
Module end 'content'
Timing: Jan 30 2025 21:44:25
Script end

Main resources:

Total runtime0.0195 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0039 588.3828151.2422
Module start 'layout' 0.00400.0030 739.6250220.7500
Module start 'content' 0.00690.0111 960.3750997.9922
Module end 'content' 0.01800.0014 1,958.367229.9922
Script end 0.0195  1,988.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002311.6014140.0002
Check MTime0.00105.2300140.0001
Mysql Total
Database connection0.00063.172210.0006
Mysqli_queries0.00178.861730.0006
Looping result0.00000.056210.0000
Template Total0.00105.310.0010
Template load0.00084.177910.0008
Template processing0.00021.102210.0002
Override
Cache load0.00062.957210.0006
General
dbfile0.00021.035080.0000
String conversion0.00000.025740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs