Hi; I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it? TIA, Nancy
Nancy Donnelly schrieb:
Hi; I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it? TIA, Nancy
------------------------------------------------------------------------
_______________________________________________ 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 )
just copy the instances directories. in the bin and the etc directory of the respective instances are some files notably bin/zopectr, bin/runzope and etc/zope.conf that contain some hardcoded path to python and where zope is to be found. you have to adapt them to the new settings. robert
You can easily install Zope 2.7.8 on the new hardware and then just copy the Data.fs file from the old hardware to the new. If you want to upgrade to a newer version of zope on the new hardware, you can follow the above procedure, but you should review the CHANGES.txt file for the new version of zope to see what the impact may be (i seem to remember that ZCatalog/indexes changed in Zope 2.8.x, and there may be other items to be aware of as well) Jonathan ----- Original Message ----- From: Nancy Donnelly To: zope@zope.org Sent: Wednesday, November 22, 2006 11:19 AM Subject: [Zope] New HD, Moving ZODB Hi; I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it? TIA, Nancy ------------------------------------------------------------------------------ _______________________________________________ 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 )
My mistake, i misread and thought you were installing on a new server, not new harddrive! (so its not necessary to re-install zope) Jonathan ----- Original Message ----- From: Jonathan To: Nancy Donnelly ; zope@zope.org Sent: Wednesday, November 22, 2006 11:34 AM Subject: Re: [Zope] New HD, Moving ZODB You can easily install Zope 2.7.8 on the new hardware and then just copy the Data.fs file from the old hardware to the new. If you want to upgrade to a newer version of zope on the new hardware, you can follow the above procedure, but you should review the CHANGES.txt file for the new version of zope to see what the impact may be (i seem to remember that ZCatalog/indexes changed in Zope 2.8.x, and there may be other items to be aware of as well) Jonathan ----- Original Message ----- From: Nancy Donnelly To: zope@zope.org Sent: Wednesday, November 22, 2006 11:19 AM Subject: [Zope] New HD, Moving ZODB Hi; I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it? TIA, Nancy ---------------------------------------------------------------------------- _______________________________________________ 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 ) ------------------------------------------------------------------------------ _______________________________________________ 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 )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On 22. November 2006 08:19:23 -0800 Nancy Donnelly <nancydonnelly2006@yahoo.com> wrote:
Hi; I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it? TIA,
Do you know the concept of a symlink? - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFZHwgCJIWIbr9KYwRAhvgAJ9t70HdyKOIEuOi7BNVivsC8WugqACcCB/K b7VdWa2nTyzO7OdVEMsn/jg= =bTly -----END PGP SIGNATURE-----
Andreas Jung wrote:
--On 22. November 2006 08:19:23 -0800 Nancy Donnelly <nancydonnelly2006@yahoo.com> wrote:
Hi; I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it? TIA,
Do you know the concept of a symlink?
-aj
i believe, nancy is using a windows box. _______________________________________________ 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 )
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - --On 22. November 2006 18:16:27 +0100 robert rottermann <robert@redcor.ch> wrote:
i believe, nancy is using a windows box.
Nancy (or whatever her real name is) did not ask a but a particular OS. - -aj -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFFZIfOCJIWIbr9KYwRAtoyAJ9WF2W/K580MngBl7+eIcH4WPGLjgCgqT8c KZeHP0NtxzzPhr7AYyVezcc= =3Y9Y -----END PGP SIGNATURE-----
make new_instance copy old_instance/var to new_instance/var copy old_instance/Extensions to new_instance/Extensions products, language and other config in etc ... ----- Original Message ----- From: Nancy Donnelly To: zope@zope.org Sent: Wednesday, November 22, 2006 5:19 PM Subject: [Zope] New HD, Moving ZODB Hi; I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it?
I've added a new HD to my server. I have 2 instances of Zope 2.7.8. I need to move at least one instance of ZODB to the new HD (I can easily move them both if necessary). Is there a how-to on how to do this, or, if not, how do I do it? If you take a look at zope.conf, you'll find (near the end) definitions of your ZODB storage There are pathes to files and folders. You may move these files and folders to new HD and just change zope.conf to point to this.
In general I think it is better to move whole Zope\ZEO instance, not only ZODB. -- Maciej Wisniowski
participants (6)
-
Andreas Jung -
Jaroslav Lukesh -
Jonathan -
Maciej Wisniowski -
Nancy Donnelly -
robert rottermann