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.