Forums / Setup & design / Migration from dev to prod

Migration from dev to prod

Author Message

John Moritz

Wednesday 15 October 2008 7:32:55 am

At the moment i am developing a Site using ezPublish 4.0.1, local on vmware. I thinking about what do to, to make a clean migration from my development Server to production Server.

I installed 4.0.1 on both servers. Is it save to make a dumb of the dev database and copy it to the production server? What else must i do to have a working Production server after migrating?

Nabil Alimi

Wednesday 15 October 2008 9:19:36 am

Hi John,

You first need to copy developpement files from dev to prod. In normal cases that should be :
- design/example
- settings/siteaccess
- settings/override
- extension

provided you haven't done any kernel changes, that should do.

Next step is to do just as you said : transfer your dev database onto your prod server.

Make sure to configure the database settings and such things in order to suit the new server requirements and login policies.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Greg McAvoy-Jensen

Wednesday 15 October 2008 12:01:20 pm

You'll also want to take the var directory, which must be completely in sync with the database (copied at the same instant, or copied while the database is locked down). And, of course, you'll need to change your site.ini files to match the production server environment.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

John Moritz

Wednesday 15 October 2008 2:12:08 pm

Thanks to you guys.

I think thats everything i needed to know.

eZ debug

Timing: Jan 30 2025 21:12:22
Script start
Timing: Jan 30 2025 21:12:22
Module start 'content'
Timing: Jan 30 2025 21:12:22
Module end 'content'
Timing: Jan 30 2025 21:12:22
Script end

Main resources:

Total runtime0.0299 sec
Peak memory usage6,144.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0102 587.9297370.2969
Module start 'content' 0.01020.0113 958.22661,005.5156
Module end 'content' 0.02150.0084 1,963.742274.7031
Script end 0.0299  2,038.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00237.6500120.0002
Check MTime0.00103.2930120.0001
Mysql Total
Database connection0.00092.996010.0009
Mysqli_queries0.005518.441740.0014
Looping result0.00000.069320.0000
Template Total0.008126.910.0081
Template load0.00072.421810.0007
Template processing0.007324.500510.0073
Override
Cache load0.00051.576010.0005
General
dbfile0.004414.5928100.0004
String conversion0.00000.016730.0000
Note: percentages do not add up to 100% because some accumulators overlap

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.0001 secs