If the database cannot be repaired and the backups are also corrupt and cannot be repaired, then you’re basically out of luck (you can run with a corrupt db, but at some point it will begin to affect operations).
You delete the current db and start over.
You will have to re-create libraries, re-share with others, etc. You can use the “Move Viewstate…” steps to copy that info to the new database.
I did a quick search regarding copying playlists and found one post. See Python code to copy a playlist from one plex server to another.