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.

eZ debug

Timing: Jan 18 2025 19:19:23
Script start
Timing: Jan 18 2025 19:19:23
Module start 'layout'
Timing: Jan 18 2025 19:19:23
Module start 'content'
Timing: Jan 18 2025 19:19:24
Module end 'content'
Timing: Jan 18 2025 19:19:24
Script end

Main resources:

Total runtime1.0985 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0081 587.9141152.6250
Module start 'layout' 0.00810.0026 740.539139.4453
Module start 'content' 0.01071.0865 779.9844510.3594
Module end 'content' 1.09720.0012 1,290.343812.1719
Script end 1.0984  1,302.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2884160.0002
Check MTime0.00130.1161160.0001
Mysql Total
Database connection0.00160.145010.0016
Mysqli_queries1.045395.1606570.0183
Looping result0.00080.0722550.0000
Template Total1.065197.020.5325
Template load0.00210.193520.0011
Template processing1.062996.766020.5315
Template load and register function0.00020.019210.0002
states
state_id_array0.00140.124410.0014
state_identifier_array0.00100.092120.0005
Override
Cache load0.00190.1699370.0001
Sytem overhead
Fetch class attribute can translate value0.00070.064220.0004
Fetch class attribute name0.00130.113840.0003
XML
Image XML parsing0.00070.063820.0004
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00080.0686160.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs