Forums / Setup & design / Migration from dev to prod
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
Wednesday 15 October 2008 2:12:08 pm
Thanks to you guys.
I think thats everything i needed to know.