[Koha] Koha Rebuild - Looking for the man behind the curtain

Robin Sheat robin at catalyst.net.nz
Thu Dec 19 12:25:28 NZDT 2013


Phillip Ponchot schreef op wo 18-12-2013 om 14:44 [-0800]:
> After I install the Koha package, I'm wanting to know how I can
> configure the Koha server to act like the one I'm replacing.  

The main things you'll want to do are:
     1. load the data dump from your old system in to the new one, and
     2. configure Apache so that it behaves the same as your previous
        installation.

My usual process for this sort of thing is:
     1. dump data from the old database and turn it off (so no one tries
        to use it.)
     2. set up the new server, install the packages, set up
        koha-sites.conf, create an empty instance (sudo koha-create
        --create-db libraryname)
     3. load the data in (cat oldserver.sql | sudo koha-mysql
        libraryname will usually work. If not, sudo koha-mysql
        libraryname and then use \. to load the file - the second method
        is more forgiving.)
     4. edit /etc/apache2/sites-enabled/libraryname to reflect the
        configuration you want
     5. hit your staff client, especially important if there's a
        difference in the versions, as it'll run the database update
     6. Run koha-rebuild-zebra -v --full libraryname
     7. move the DNS entries for the library to the new one

That should be all it takes really. Obviously, replace libraryname with
the name of your library.

-- 
Robin Sheat
Catalyst IT Ltd.
✆ +64 4 803 2204
GPG: 5FA7 4B49 1E4D CAA4 4C38  8505 77F5 B724 F871 3BDF



More information about the Koha mailing list