Forums / Install & configuration / Migrate web site
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!
CheersOle
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 ezpublishdirtar -cpzf yourdomain.tar.gz *
- Backup databasemysqldump --opt -u your_user -p yourezpublsihdatabase > yourdomain.bak.dump
ON your new server -Files mkdir Exponential chmod 755 Exponentialtar zxvf yourdomain.tar.gz
-Databasemysql -u yournew_user -p yournewezpublsihdatabase < yourdomain.bak.dump
-Fix missing permissions....Compare your new ez dir with your old, using ls -l within Exponential 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/
Thursday 01 September 2005 2:36:24 am
You shod also check the ez settings in /settings/siteaccess/yoursite /yoursite_admin