What did you get the backup from? You should simply be able to rename it as KoboReader.sqlite and copy it to the .kobo directory on your Kobo.
If you have the Kobo Utilities installed on calibre (for me, a must have), on the second page of the configuration dialog, you can configure an automatic backup. See the attached image for how I configured it. You can simply extract the two .sqlite from the created .zip file and copy them back to your Kobo.
My workaround for the database corruption issue is to reboot my Kobo ereaders before connecting them to the computer. This is done from NickelMenu. The NM config file entries I use are (allow reboot from Main, My Books and while reading):
Code:
menu_item : main : Reboot : power : reboot
menu_item : library : Reboot : power : reboot
menu_item : reader : Reboot : power : reboot