Forums / General / Site Hosting Server Change

Site Hosting Server Change

Author Message

suvadeep sarkar

Monday 30 August 2010 4:57:21 am

Hi

We are working on http://www.oceanview-house.com/ which runs on ezPublish and is currently hosted in Apton server. We want the same to transfer to another server which gives the environment for ezPublish to be installed. But we are unable to do this because we are not understanding how to transfer the existing content and database to the new server.

A quick help will be highly appreciated. This is very urgent, will wait for an answer.

Regards

suvadeep

Ivo Lukac

Monday 30 August 2010 5:52:31 am

Hi Do you have ssh access? If not do you have FTP and phpMyAdmin access?

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

suvadeep sarkar

Monday 30 August 2010 6:04:27 am

Hi Ivo

Thanks for replying. I have the Admin access to the EzPublish CPanel. I also have the Admin access to the new Hetzner server.

Ivo Lukac

Monday 30 August 2010 6:10:22 am

"

Thanks for replying. I have the Admin access to the EzPublish CPanel. I also have the Admin access to the new Hetzner server.

"

CPanel will not help you much. You should have some kind of direct access to files and database (ssh, ftp, phpmyadmin or similar).

You can try to connect to mentioned services with you cpanel password. Or look in Cpanel for some info on how to do that.

Or send an email to webmaster...

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Lukasz Klejnberg

Wednesday 01 September 2010 2:54:25 pm

Hi,

You can do mysqldump current database and then import it to the new.

export database: 
mysqldump -uUSER -p -hADDRES_IP_WHERE_IS_YOUR_DATABASE -B NAME_YOUR_DATABASE >backup_database.sql

import database:
mysql -uUSER -p -hADDRES_IP_WHERE_IS_YOUR_NEW_DATABASE -B NAME_YOUR_DATABASE <backup_database.sql

Then you need to change the files in siteaccess for database settings and the base url.

settings/siteacces/eng/site.ini.append.php

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=hostname your new database server
Port=
User=user new database server
Password=password this user
Database=name of new database

SiteURL=new site url

AdditionalLoginFormActionURL=new url user/login

You must also clear the entire cache, language files, ini, codepages, content, ezmutex, override, public, template, template-block, trans, translation, user-info and then copy all the ez publish a new server.

Best regards,

Lukasz

eZ debug

Timing: Jan 30 2025 21:11:48
Script start
Timing: Jan 30 2025 21:11:48
Module start 'content'
Timing: Jan 30 2025 21:11:48
Module end 'content'
Timing: Jan 30 2025 21:11:48
Script end

Main resources:

Total runtime0.3512 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0105 587.9219370.3047
Module start 'content' 0.01050.0170 958.22661,005.6250
Module end 'content' 0.02750.3236 1,963.85163,893.8125
Script end 0.3511  5,857.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00471.3520200.0002
Check MTime0.00140.3879200.0001
Mysql Total
Database connection0.00080.228710.0008
Mysqli_queries0.243669.38531410.0017
Looping result0.00160.46661390.0000
Template Total0.323192.010.3231
Template load0.00090.260010.0009
Template processing0.322291.755710.3222
Override
Cache load0.00060.163810.0006
Sytem overhead
Fetch class attribute can translate value0.00200.569210.0020
XML
Image XML parsing0.00020.067210.0002
General
dbfile0.01223.4753200.0006
String conversion0.00000.002630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs