View Single Post
Old 04-26-2014, 11:50 AM   #15
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
Ok, I updated the tool. Now it backups the database immediately if an internet connection is established.

@TechniSol: you can check yourself the cpu usage Just ssh your Kobo and do:

PHP Code:
top grep bak 
On my device, when it doesn't backup the db, cpu usage is 0.4% at max. he tool reaches this cpu usage only every 3 seconds.

I can't find a way to detect sleeping status, but I suppose it doesn't really matter: db can't change while Kobo is sleeping, so the auto-backup tool remains at that level of cpu usage.

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