Forums / General / Backup/Restore Migration Windows Linux

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