Backup/Restore Migration Windows Linux

Author Message

Javier Herrera

Thursday 26 May 2011 2:02:41 pm

Tenemos un problema. Hemos hecho todas las pruebas con ezpublish
windows.
We have a problem.We have done all tests in windows.
Version eZ Publish 4.4.0-1 en ambas
Both with eZ Publish 4.4.0-1
Estamos subiendo a una máquina virtual local con linux, y después en la nube para hacer la prueba pero no somos capaces de poner lo mismo (web), como en la versión windows..
We are uploading to a local virtual machine with linux, an later in the cloud for testing but we are not able to put the same web, like in windows.

Hemos hecho copia de seguridad de la base de datos y la hemos restaurado.
We have backed up the database and have restored.
Hemos copiado las siguientes carpetas:
We have copied the following folders:

ezpublish\htdocs\var\storage
ezpublish\htdocs\var\ezwebin_site\storage
ezpublish\htdocs\design
ezpublish\htdocs\settings
ezpublish\htdocs\extension

Que más nos falta?

Gracias

What else is missing?

Thanks

Steven E. Bailey

Thursday 26 May 2011 3:24:24 pm

Don't forget to regenerate autoloads and make sure the rewrite rules are correct.  BTW I would copy the entire var directory (remove the cache files first).  Not that it matters but you have var/storage that could have package stuff.  Maybe it's overkill but that's what I always do.  Make sure you copy all the translation files... actually, check the backend and make sure that any files that are modifed go over to the new machine.

There will be some changes to the settings files - notably, the image.ini.override.php - you'll have to redefine the path to convert.  Any custom extensions might also have path settings problems.

Make sure that you have the same pear libraries on both machines and the same php version, etc.

Also, you want to make sure to preserve symbolic links if you can otherwise your var directory can quickly triple in size - I use rsync but I've never tested it on windows.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

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 02:19:16
Script start
Timing: Jan 18 2025 02:19:16
Module start 'layout'
Timing: Jan 18 2025 02:19:16
Module start 'content'
Timing: Jan 18 2025 02:19:16
Module end 'content'
Timing: Jan 18 2025 02:19:16
Script end

Main resources:

Total runtime0.0174 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.0469152.6250
Module start 'layout' 0.00600.0032 741.671939.4531
Module start 'content' 0.00930.0060 781.125089.3203
Module end 'content' 0.01520.0022 870.445334.2891
Script end 0.0174  904.7344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.3416140.0002
Check MTime0.00105.9933140.0001
Mysql Total
Database connection0.00137.300110.0013
Mysqli_queries0.002614.984730.0009
Looping result0.00000.114910.0000
Template Total0.00169.410.0016
Template load0.00095.108010.0009
Template processing0.00084.315810.0008
Override
Cache load0.00063.518010.0006
General
dbfile0.00031.464180.0000
String conversion0.00000.050640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

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

Time used to render debug report: 0.0003 secs