If you are running a wireless Kobo a factory reset should restore all your books.
If you have a Kobo that is not wireless see what version of the firmware you are running and check out the sticky
https://www.mobileread.com/forums/showthread.php?t=94789