Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-04-2019, 01:26 PM   #1
BloodRagg
Zealot
BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.
 
BloodRagg's Avatar
 
Posts: 125
Karma: 1988
Join Date: Feb 2019
Device: none
Backing up all settings/current state

If i want to backup all settings except KOReader itself, what would be a good strategy ?

I've been experimenting with the following:
data_dirs="cache clipboard data/dict data/tessdata history ota screenshots settings styletweaks"
data_files="settings.reader.lua history.lua crash.log batterystat.log"
BloodRagg is offline   Reply With Quote
Old 05-04-2019, 05:07 PM   #2
Alan_S
Addict
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 383
Karma: 1066870
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
defaults.(persistent.)lua is also settings file. Then, for books each book has its sdr dir, which keeps info about that particular book.
Alan_S is offline   Reply With Quote
Old 05-05-2019, 07:16 AM   #3
BloodRagg
Zealot
BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.
 
BloodRagg's Avatar
 
Posts: 125
Karma: 1988
Join Date: Feb 2019
Device: none
Thanks, the defaults files eluded me.

* .sdr/* - they do not reside in the koreader dir itself
* ota/* - can be redownloaded, excluded it.
* cache/* - can be recreated, excluded it.
* data/dict/* - im still flip-flopping on this one.
* data/tessdata/* - have not looked into this yet, is it big ?

as for now its:

data_dirs="clipboard data/dict data/tessdata history screenshots settings styletweaks"
data_files="settings.reader.lua history.lua crash.log batterystat.log defaults.lua defaults.persistent.lua"
BloodRagg is offline   Reply With Quote
Old 05-05-2019, 12:32 PM   #4
Frenzie
Guru
Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.Frenzie can see what is invisible to the naked eye.
 
Posts: 648
Karma: 115152
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Quote:
* data/dict/* - im still flip-flopping on this one.
* data/tessdata/* - have not looked into this yet, is it big ?
Both of those are only as big or small as you want them to be.
Frenzie is offline   Reply With Quote
Old 05-05-2019, 02:20 PM   #5
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,335
Karma: 6272781
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite (retired), AuraHD, PDA,
I just keep a copy of the "KOBOeReader" partition on my PC; that's whenever I do a major update, when I have skipped updating for a long time. Having it on the PC makes it easy to check things for KSM and Sergey's launcher, as well as KOReader.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 05-05-2019, 02:41 PM   #6
BloodRagg
Zealot
BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.
 
BloodRagg's Avatar
 
Posts: 125
Karma: 1988
Join Date: Feb 2019
Device: none
Quote:
Originally Posted by Frenzie View Post
Both of those are only as big or small as you want them to be.
Having a daily backup eats a lot of space if i start filling these, exclusion it is.

Quote:
Originally Posted by Ken Maltby View Post
I just keep a copy of the "KOBOeReader" partition on my PC....
Appreciate you thinking along Ken, but my situation is a custom one (koreader only )

Last edited by BloodRagg; 05-05-2019 at 02:46 PM.
BloodRagg is offline   Reply With Quote
Old 05-05-2019, 04:34 PM   #7
Alan_S
Addict
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 383
Karma: 1066870
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by BloodRagg View Post
data_files="defaults.lua defaults.persistent.lua"
You don't need both. defaults.persistent.lua is file that have precedence and if exist, koreader doesn't look at defaults.lua (i.e. it may contain whatever).

Just edit things in defaults.persistent.lua and save this file in case of trouble.
Alan_S is offline   Reply With Quote
Old 05-06-2019, 01:07 PM   #8
BloodRagg
Zealot
BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.
 
BloodRagg's Avatar
 
Posts: 125
Karma: 1988
Join Date: Feb 2019
Device: none
You mean, I don't need both at the same time , but what if I change my mind in the future ?
Better to include more than to find out I don't have it.
BloodRagg is offline   Reply With Quote
Old 05-06-2019, 02:10 PM   #9
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 8,619
Karma: 12901212
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
defaults.lua is part of every release package (hence the need for the persistent variant for user overrides ).
NiLuJe is offline   Reply With Quote
Old 05-06-2019, 03:43 PM   #10
Alan_S
Addict
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 383
Karma: 1066870
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by BloodRagg View Post
You mean, I don't need both at the same time , but what if I change my mind in the future ?
If you want to change settings contained in it, you edit defaults.persistent.lua and back it up again. You usually never edit defaults.lua, because it gets overwritten with new version of koreader. Hence persistent variant.
Alan_S is offline   Reply With Quote
Old 05-07-2019, 08:49 AM   #11
BloodRagg
Zealot
BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.BloodRagg once ate a cherry pie in a record 7 seconds.
 
BloodRagg's Avatar
 
Posts: 125
Karma: 1988
Join Date: Feb 2019
Device: none
Quote:
Originally Posted by NiLuJe View Post
defaults.lua is part of every release package (hence the need for the persistent variant for user overrides ).
If its in the package ill skip it
BloodRagg is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the current state of Color eInk Research? tnforpaul45 General Discussions 17 06-06-2015 03:41 PM
Backing up Calibre library and settings Japes Calibre 2 10-26-2014 12:24 PM
Backing up the Calibre settings Iskariot Related Tools 6 09-24-2012 03:31 PM
Current state of digital comics Alfy News 30 04-29-2011 06:06 AM
Current state of OCR/scanner tech? RootlessAgrarian Workshop 8 01-26-2010 11:31 AM


All times are GMT -4. The time now is 02:54 AM.


MobileRead.com is a privately owned, operated and funded community.