Migrate web site

Author Message

Ole Brudvik

Thursday 01 September 2005 1:47:58 am

Hi, we are quite new to EZ and we are moving our web site to a new server. Our first attempt was not so successfull :) can anyone give us a step by step how to do it? We are moving from 3.5 to 3.5.

Thanks alot!

Cheers
Ole

Jack Rackham

Thursday 01 September 2005 2:28:03 am

Mini howto Linux/Unix

On your old server
- Backup files
Access your old server with SSH(putty).
Cd ezpublishdir
tar -cpzf yourdomain.tar.gz *

- Backup database
mysqldump --opt -u your_user -p yourezpublsihdatabase > yourdomain.bak.dump

ON your new server
-Files
mkdir ezpublish
chmod 755 ezpublish
tar zxvf yourdomain.tar.gz

-Database
mysql -u yournew_user -p yournewezpublsihdatabase < yourdomain.bak.dump

-Fix missing permissions....
Compare your new ez dir with your old, using ls -l within ez publish dir.

Use this command to grant new permissions
chmod -R(for folders+files and subfolders) 777/666/xxx dir/file
.....
chmod -R 777 var/
.....

-.-.-.-
If noting works try this (not very secure)
chmod -R 777 design/ var/ settings/

Jack Rackham

Thursday 01 September 2005 2:36:24 am

You shod also check the ez settings in /settings/siteaccess/yoursite /yoursite_admin

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