Since I got the database corrupted very much times, I decided to do this little auto-backup tool.
It simply backups the db every 20 minutes in a hidden place. If the database is corrupted, you can see the backup in the .kobo folder with the name KoboReader_bak.sqlite.
How to install it: Check the instructions here.
How to repair your db: if you want to restore the backup, you have to follow these steps very carefully:
I hope it will help us to save some time. Thanks to tshering for sqlite and USB detection, and yoq for runonce trick.
For devs only:
old post contents:
.
It simply backups the db every 20 minutes in a hidden place. If the database is corrupted, you can see the backup in the .kobo folder with the name KoboReader_bak.sqlite.
How to install it: Check the instructions here.
How to repair your db: if you want to restore the backup, you have to follow these steps very carefully:
- attach your device to a PC
- go to .kobo directory
- rename KoboReader.sqlite as you want
- rename KoboReader_bak.sqlite to KoboReader.sqlite
I hope it will help us to save some time. Thanks to tshering for sqlite and USB detection, and yoq for runonce trick.
For devs only:
Spoiler:
old post contents:
Spoiler:
.