Migrate all Koha data from old server to new server
Hi all, We ae running Koha on a dodgy spare desktop that we scrounged up, now we have a nice shiny Dell server to run it on. What is the easiest method of transferring the data from the old server to the new server? (Using Koha 2.2.4 on both servers.) I'm guessing that all I have to do is install Koha on the new server (meet prerequisites etc) and move across the MySQL data to the new server. Am I missing something critical? Thanks, Greg
Hi Greg, Probably the safest way to proceed is to install Koha on the new server, then just mysqldump the Koha database on the old server and restore it to the new server. Something like this: # mysqldump -ukohaadmin -pmypass --add-drop-table Koha > koha.sql # scp koha.sql myuser@newserver.com: Then on the new server: # mysql -ukohaadmin -pmypass Koha < /home/myuser/koha.sql Hope that helps, let us know how it goes. Cheers, -- Joshua Ferraro VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS On Wed, Jan 18, 2006 at 06:16:07PM +1100, Greg Vickers wrote:
Hi all,
We ae running Koha on a dodgy spare desktop that we scrounged up, now we have a nice shiny Dell server to run it on.
What is the easiest method of transferring the data from the old server to the new server? (Using Koha 2.2.4 on both servers.) I'm guessing that all I have to do is install Koha on the new server (meet prerequisites etc) and move across the MySQL data to the new server. Am I missing something critical?
Thanks, Greg _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Hi Joshua, Joshua Ferraro wrote:
Hi Greg,
Probably the safest way to proceed is to install Koha on the new server, then just mysqldump the Koha database on the old server and restore it to the new server. Something like this:
# mysqldump -ukohaadmin -pmypass --add-drop-table Koha > koha.sql # scp koha.sql myuser@newserver.com:
Then on the new server:
# mysql -ukohaadmin -pmypass Koha < /home/myuser/koha.sql
Hope that helps, let us know how it goes.
Fantastic, I will give it a shot and see how we go!
Cheers,
-- Joshua Ferraro VENDOR SERVICES FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
On Wed, Jan 18, 2006 at 06:16:07PM +1100, Greg Vickers wrote:
Hi all,
We ae running Koha on a dodgy spare desktop that we scrounged up, now we have a nice shiny Dell server to run it on.
What is the easiest method of transferring the data from the old server to the new server? (Using Koha 2.2.4 on both servers.) I'm guessing that all I have to do is install Koha on the new server (meet prerequisites etc) and move across the MySQL data to the new server. Am I missing something critical?
Thanks, Greg _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Joshua Ferraro wrote:
Hi Greg,
Probably the safest way to proceed is to install Koha on the new server, then just mysqldump the Koha database on the old server and restore it to the new server. Something like this:
# mysqldump -ukohaadmin -pmypass --add-drop-table Koha > koha.sql # scp koha.sql myuser@newserver.com:
Then on the new server:
# mysql -ukohaadmin -pmypass Koha < /home/myuser/koha.sql
Hope that helps, let us know how it goes.
Cheers,
WIN! All data transferred successfully! Thank you Joshua, you are a champion :)
Would the following instruction work for stand alone koha on windows? Would myuser@newserver.com still applicable to Koha on Windows' C drive? Greg Vickers <daehenoc@optusnet.com.au> wrote: Joshua Ferraro wrote:
Hi Greg,
Probably the safest way to proceed is to install Koha on the new server, then just mysqldump the Koha database on the old server and restore it to the new server. Something like this:
# mysqldump -ukohaadmin -pmypass --add-drop-table Koha > koha.sql # scp koha.sql myuser@newserver.com:
Then on the new server:
# mysql -ukohaadmin -pmypass Koha < /home/myuser/koha.sql
Hope that helps, let us know how it goes.
Cheers,
WIN! All data transferred successfully! Thank you Joshua, you are a champion :) _______________________________________________ Koha mailing list Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha --------------------------------- Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
Carol Ku <carolcool01@...> writes:
Would the following instruction work for stand alone koha on windows?
transferred successfully! Thank you Joshua, you are a champion :)_______________________________________________Koha mailing
Would myuser-3OOmeqoDtxV54TAoqtyWWQ@public.gmane.org still applicable to Koha on Windows' C drive?Greg Vickers <daehenoc-sFbbPxZDHXw0n/F98K4Iww@public.gmane.org> wrote: Joshua Ferraro wrote:>Hi Greg,>>Probably the safest way to proceed is to install Koha on the new server,>then just mysqldump the Koha database on the old server and restore it>to the new server. Something like this:>># mysqldump -ukohaadmin -pmypass --add-drop-table Koha > koha.sql># scp koha.sql myuser-3OOmeqoDtxV54TAoqtyWWQ@public.gmane.org:>>Then on the new server:>># mysql -ukohaadmin -pmypass Koha < /home/myuser/koha.sql>>Hope that helps, let us know how it goes.>>Cheers,> >WIN! All data listKoha-MiqU8s9CcdeGg0aVt5PjEHTaI6DYlTYJ@public.gmane.orghttp://lists.katipo.co.nz/mailman/listinfo/koha
Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays,
whatever.
_______________________________________________ Koha mailing list Koha@... http://lists.katipo.co.nz/mailman/listinfo/koha
ERROR 1064 (42000) at line 20: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(14) NOT NULL, KEY acctsborridx (borrowernumber), KEY timeidx (timestamp) ) ' at line 11
participants (5)
-
Carol Ku -
Daehenoc -
Greg Vickers -
Joshua Ferraro -
khurram