![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 842196
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" |
![]() |
![]() |
![]() |
#2 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 1084584
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 842196
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" |
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,750
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, 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 |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
Having a daily backup eats a lot of space if i start filling these, exclusion it is.
![]() Quote:
![]() Last edited by BloodRagg; 05-05-2019 at 02:46 PM. |
|
![]() |
![]() |
![]() |
#7 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
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. |
![]() |
![]() |
![]() |
#8 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
You mean, I don't need both at the same time
![]() Better to include more than to find out I don't have it. |
![]() |
![]() |
![]() |
#9 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
defaults.lua is part of every release package (hence the need for the persistent variant for user overrides
![]() |
![]() |
![]() |
![]() |
#10 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
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.
|
![]() |
![]() |
![]() |
#11 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 128
Karma: 842196
Join Date: Feb 2019
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |