Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users

Is there a Zope migration tool?

 

 

Zope users RSS feed   Index | Next | Previous | View Threaded


atsaloli.tech at gmail

Jun 7, 2009, 10:02 AM

Post #1 of 5 (720 views)
Permalink
Is there a Zope migration tool?

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?


Thanks,
Aleksey

--
Aleksey Tsalolikhin
UNIX System Administrator
"I get stuff done!"
http://www.verticalsysadmin.com/
LinkedIn - http://www.linkedin.com/in/atsaloli
_______________________________________________
Zope maillist - Zope[at]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 )


lists at zopyx

Jun 7, 2009, 10:13 AM

Post #2 of 5 (654 views)
Permalink
Re: Is there a Zope migration tool? [In reply to]

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
Attachments: lists.vcf (0.31 KB)


regebro at gmail

Jun 9, 2009, 3:28 AM

Post #3 of 5 (650 views)
Permalink
Re: Is there a Zope migration tool? [In reply to]

2009/6/7 Aleksey Tsalolikhin <atsaloli.tech[at]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[at]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 )


atsaloli.tech at gmail

Jun 10, 2009, 4:22 PM

Post #4 of 5 (634 views)
Permalink
Re: Is there a Zope migration tool? [In reply to]

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[at]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 )


regebro at gmail

Jun 11, 2009, 7:18 AM

Post #5 of 5 (631 views)
Permalink
Re: Is there a Zope migration tool? [In reply to]

2009/6/11 Aleksey Tsalolikhin <atsaloli.tech[at]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[at]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 )

Zope users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.