[Koha] Deleting biblios and items

Aida Djikic aidadjikic at gmail.com
Thu Nov 9 00:06:58 NZDT 2023


Hello Anke,

thank you for the directions; I have followed them and have managed to
remove all records. When I run an authority search, I get a list of all of
them, though they are now lacking a heading type (it is now marked as
"Default"). Is it possible to bulk remove all of them from search results
as well or will I need to delete them one by one?

The ones that were not attached to records have a Delete option, but the
few that were have only an Edit option which leads to a "The authority
record you requested does not exist" note.

(Must also remember to uncheck AutoCreateAuthorities as that caused me to
have multiple copies of authorities (e.g. thesis advisors, as well as
subjects and index terms). Lesson learned the hard way!)

On Tue, Nov 7, 2023 at 12:03 PM Bruns, Anke <Anke.Bruns at gwdg.de> wrote:

> Hi,
>
> your_koha_library in this case means the database name. This is typically
> "koha_<instancename>". If you open MySQL (before the "use" step), you can
> list your database(s) with "show databases;" to see the exact name.
>
> When everything is done, don't forget to set the Foreign Key check back to
> 1.
> You can leave MySQL by entering "quit", then the prompt will change back
> to the one you see when logged in as the linux root user.
>
> I recommend also to create a database dump as a backup before these
> activities in case anything goes wrong and you want to restore the database.
>
> Best regards,
> Anke
>
> > -----Ursprüngliche Nachricht-----
> > Von: Koha <koha-bounces at lists.katipo.co.nz> Im Auftrag von Aida Djikic
> > Gesendet: Dienstag, 7. November 2023 10:15
> > An: koha at lists.katipo.co.nz
> > Betreff: [Koha] Deleting biblios and items
> >
> > Hello all,
> >
> > I've been looking up how to delete all biblios and items since I made
> some
> > errors and would like to restart with a clean slate without losing my
> > settings and customizations.
> >
> > I want to check whether the commands listed on
> > https://wiki.koha-
> > community.org/wiki/How_to_delete_all_records_and_keep_settings
> > are to be entered exactly as written, or if there's anything that's
> assumed
> > to be understood by more experienced users. I am really struggling
> whenever
> > I have to use terminal commands.
> >
> > E.g. where it says
> > Login to database
> >
> >   sudo su
> >   mysql -u root
> >   use your_koha_library;
> >
> > Can I assume your_koha_library is where the instance name goes or is this
> > literally what should be entered into the terminal? If not the instance
> > name, what should be entered?
> >
> > How does one log in to mysql and then move back to root once done with
> > these changes?
> >
> > When only deleting biblios and items, does Zebra index need to be reset
> for
> > both biblios and authorities, or just the biblios?
> >
> > Thank you in advance!
> >
> > --
> > Regards,
> > Aida
> > _______________________________________________
> >
> > Koha mailing list  http://koha-community.org
> > Koha at lists.katipo.co.nz
> > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>


-- 
Regards,
Aida


More information about the Koha mailing list