View Single Post
Old 03-26-2014, 06:44 PM   #1
Lucas Malor
Pain in the arse
Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.Lucas Malor will give the Devil his due.
 
Lucas Malor's Avatar
 
Posts: 758
Karma: 77856
Join Date: Apr 2013
Device: Kobo Aura One, Kindle 4
DB Auto-Backup Tool for Kobo

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, or when the USB cable is attached, in a hidden place. If the database is corrupted, LED light starts to blink and you can find the backup in the .kobo folder.

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:
  1. attach your device to a PC
  2. go to .kobo directory
  3. rename KoboReader.sqlite as you want
  4. extract the archive KoboReader.sqlite.bz2 using an archive manager, like 7-Zip

-------------------------------------------------------------------------------

Currently the script has some limitations:
  1. I need a way to detected wifi connection
  2. I want to start the backup immediately if Kobo is sleeping, so I need a way to check sleeping status

I hope it will help us to save some time. Thanks to tshering for sqlite, LED control and USB flashing detection, and yoq for runonce trick.
Attached Files
File Type: zip [Kobo] DB Auto-Backup Tool - v1.2.zip (277.2 KB, 265 views)

Last edited by Lucas Malor; 04-26-2014 at 11:42 AM.
Lucas Malor is offline   Reply With Quote