Re: [Zope] Is there a Zope migration tool?
2009/6/11 Aleksey Tsalolikhin atsaloli.t...@gmail.com: I am trying to figure out how move this beastie over with all its data and all its users. Zope typically stores all it's data in a database called ZODB. It stores everything in a file called Data.fs. Copy it over from the old server to the new server. Done! -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Is there a Zope migration tool?
Andreas wrote: Since migrations are application specific, you usually have to write a migration script yourself. Zope does not know about changes in your application - that's why Zope can not provide any kind of migration mechanism for you - except providing the low-level export/import on the Python pickle level. And Lennart wrote: What is it you need to migrate? Zope itself needs no migration from 2.7 to 2.10. Thank you for your replies. To clarify, I don't have ANY changes in my application. The only thing changing is that I am moving my application from a SUSE 10.1 Linux system running Zope 2.7.8 to a CentOS 5.3 Linux server running Zope 2.10.7. The purpose of the move is to get off an old and no longer supported Linux distro and onto a new Linux server. This web app is in production, which means I need to move all the data over and all the users without breaking it. I am not a programmer, I am a system administrator. I don't know about the internals of this application, and nobody does, it's not documented, and the original programmer is not available. I am trying to figure out how move this beastie over with all its data and all its users. What I have so far is: export application-related items in the root folder on the Zope 2.7 server, plus the acl_users folder; and import them all into the Zope 2.10 server. This seems to work. I just want to know if there is a better way, especially since the Zope server warns against doing this unless the installations are identical, and in this case they are not. If my way works, and there is no better way, my job is done. I want to make sure I've paid due diligence by asking on this list if there is a better way, oh wise people who know and use Zope? Best, -at ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Is there a Zope migration tool?
2009/6/7 Aleksey Tsalolikhin atsaloli.t...@gmail.com: My Zope 2.10 server tells me: Note: Zope can export/import objects in two dfferent formats: a binary format (called ZEXP) and as XML. The ZEXP format is the officially supported export/import format for moving data between identicial Zope installations (it is not a migration tool). The XML export/import is unsupported (and possibly broken under certain circumstances) - use it at your own risk. I am moving a Web app from Zope 2.7 to 2.10. I exported it from 2.7 and imported to 2.10 and this worked. But then I saw the above note. Is there a migration tool? Where is it, please? What is it you need to migrate? Zope itself needs no migration from 2.7 to 2.10. -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Is there a Zope migration tool?
On 07.06.09 19:02, Aleksey Tsalolikhin wrote: My Zope 2.10 server tells me: Note: Zope can export/import objects in two dfferent formats: a binary format (called ZEXP) and as XML. The ZEXP format is the officially supported export/import format for moving data between identicial Zope installations (it is not a migration tool). The XML export/import is unsupported (and possibly broken under certain circumstances) - use it at your own risk. I am moving a Web app from Zope 2.7 to 2.10. I exported it from 2.7 and imported to 2.10 and this worked. But then I saw the above note. Is there a migration tool? Where is it, please? Since migrations are application specific, you usually have to write a migration script yourself. Zope does not know about changes in your application - that's why Zope can not provide any kind of migration mechanism for you - except providing the low-level export/import on the Python pickle level. -aj begin:vcard fn:Andreas Jung n:Jung;Andreas org:ZOPYX Ltd. Co. KG adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany email;internet:i...@zopyx.com title:CEO tel;work:+49-7071-793376 tel;fax:+49-7071-7936840 tel;home:+49-7071-793257 x-mozilla-html:FALSE url:www.zopyx.com version:2.1 end:vcard ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )