[Koha] Migrating from one server to another

C.S. Hayward c.s.hayward at protonmail.com
Wed Jul 6 06:02:30 NZST 2022


Thank you.

I had earlier followed the instructions at http://kohageek.pbworks.com/w/page/60452540/How%20to%20move%20your%20koha%20database%20to%20newly%20installed%20Koha and got an unbranded internal server error at https://library.cjshayward.com and a Koha branded internal server error at https://library-intra.cjshayward.com.

Since then (this may have been the equivalent of asking for my tea with cream and lemon) I ran the script you mentioned and https://library.cjshayward.com redirects to https://library.cjshayward.com/cgi-bin/koha/maintenance.pl.

A few questions:

1: Have I messed up the system by trying to migrate both ways?

2: Would it likely be less energy to fix the system I have or start over? Would it make sense to do an aptitude purge for koha and then reinstall, or should I be trying a less surgical approach.

3: How can I get useful diagnostics? When I got the earlier 500 error, /var/log/apache2/error.log wasn't getting anything on additional attempted page load.

I now have on the system the koha.sql created at http://kohageek.pbworks.com/w/page/60452540/How%20to%20move%20your%20koha%20database%20to%20newly%20installed%20Koha.


Thanks,


Br. C.S. Hayward, https://c-s-hayward.com


------- Original Message -------
On Monday, July 4th, 2022 at 6:14 AM, Lennon Mazonde <lennon at kohasupport.com> wrote:


> Forgot to add the link to the GitHub repo, here it is - https://github.com/grandmaestr/koha-scripts.
>
> Best regards,
>
> ### Lennon Mazonde
>
> KohaSupport
>
>
>
>
>
>
>
> [blob:https://mail.proton.me/e8ef4ba0-e203-49f9-877f-0b7a940b8f83]
>
> lennon at kohasupport.com
>
> [blob:https://mail.proton.me/62ee6d68-51dc-4913-952e-6337c32582bb]
>
> www.kohasupport.com
>
> [blob:https://mail.proton.me/9edf60da-ed68-47c1-8229-b123f31dd6a0]
>
> 651 North Broad Street, Middletown, DE 19709, USA
>
>
>
> The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
>
> On 7/4/22 12:11 PM, Lennon Mazonde wrote:
>
> > Hi,
> >
> >
> >
> >
> > I have a repo on GitHub with scripts that might be able to help you. Have a look at the 'koha-migrate' script - I originally wrote it to migrate several Koha MariaDB databases running on a Ubuntu (20.04LTS) server to Amazon Aurora MySQL on AWS but it should work for other use-cases. There are several other scripts there you might find useful as well. As always, test them in a dev environment before running them on your production server :)
> >
> >
> >
> >
> > If anyone else is interested and would like to contribute to the project, please let me know!
> >
> >
> >
> > Best regards,
> >
> >
> >
> >
> >
> >
> > Lennon Mazonde
> >
> > KohaSupport
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >  	lennon at kohasupport.com
> >
> >  	www.kohasupport.com
> >
> >  	651 North Broad Street, Middletown, DE 19709, USA
> >
> >
> >
> > The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
> >
> >
> >
> > On 7/1/22 5:17 PM, C.S. Hayward wrote:
> >
> >
> >
> > (Note: I am not using "migrate" as it is usually used today, meaning switching from ABC software to DEF. I'm referring to relocating an installation's data.)
> >
> > I would like to migrate my data from one Koha installation on one server to another installation on another server. Both use MariaDB.
> >
> > Where are instructions suitable to migrating data between two different servers?
> >
> >
> > Thanks,
> > Br. C.S. Hayward
> > _______________________________________________
> >
> > Koha mailing list  http://koha-community.org
> > Koha at lists.katipo.co.nz
> > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> >
> > _______________________________________________
> >
> > Koha mailing list  http://koha-community.org
> > Koha at lists.katipo.co.nz
> > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list