|
|
Thread Tools | Search this Thread |
01-05-2020, 08:46 AM | #1 |
Member
Posts: 16
Karma: 10
Join Date: Jun 2018
Device: inkBOOK
|
Tips for creating/maintening a robust and OS-independent book library
Good morning,
I' m in the process to unify several book databases that I have, and create a master library database which could be more robust for corruption and last long independently of which operating system I use in the future. To be honest, I prefer a reliable book database which is stable than a database with faster performance. For those of you how have longer experience with book databases, could you please give me your recommendations about the following? - How many files or books should I have as a limit before creating a second library? - Should I keep the files compressed (i.e. rar, or zip) or uncompressed as pdf, epub, mobi. etc? - Should I create a structure by folders (i.e. authors) and sub-folders (i.e. titles) with the different book formats (i.e. pdf, mobi, epub, etc) all together or should I just leave all files together in a flat structure with only one parent folder? - Should I rename book files with a longer but more meaningfully name (i.e. Dan Brown - The Davinci Code), or use short names (i.e. Davincicode.pdf) avoiding spaces or symbols to make it more difficult to get corrupted? What should I do to maintain the configuration files that keep my customizations (i.e. tags, covers, new columns, etc) - Should I use specific hard drive to keep my database and access it remotely or locate the database in the same location where my OS? Thanks for your time and support, Sincerely, Peter |
01-05-2020, 11:37 AM | #2 |
Well trained by Cats
Posts: 29,837
Karma: 54837878
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Thanks for the laugh (Last long! OS independent COMPATIBLE )
As the owner of an Amazing collection of unsupported (or nearly) media formats that are either gone or going away to the point that collectors or estate sales are the only source for reproducers. (the list is for only stuff I had mainline media for, not that I had, at one time, equipment to play that you can not easily buy needed equipment) 78 records (mono), 45 records (mono), 33 records (Mono, Stereo, SQ, QS, CD4, DBX), 8-track tape (stereo), compact Cassette tape (mono, stereo), Open reel tape (1/4in): 1-7/8 (mono), 3-3/4 (Stereo), 7-/2, 15 (Mono, Stereo, Quad), CD (home audio style players) and HA about (native format) decoder/processor boxes or amplifiers (with quad switching) 2-1/4 (120/620 film) slides, 8mm movie film, VHS tapes, Laserdisc , (you can still find Bluray players which also play DVD, but the selection is getting thin in big box stores) and the home theater receivers have lost input types for older video leads 5-1/4 floppy disc (singe and double sided. forget about the file system format part : TI, CPM: MSDOS), 3" floppies, Zip disks (100,250M), a number of cartridge tape systems that I don't even remember their names, (computer CD and DVD are still available) Paper books: Oh wait, that problem is just because the thinner shelf material being sold these days, can't hold up my dead tree collections Seriously. Metadata by file system (path/file name) is limited. Calibre includes a metadata.opf which is a XML encoded (tagged text) copy of what the DB entry had (primary reason was to allow recovery). those files can be VIEWED (parsing needs a few more tricks) with any text viewer/editor. You can make a CSV catalog (I have had spreadsheets that could import that since 1980), so that is probably going to be around another year or so ) of the metadata. I would be more worried about physical media failure (recorded media fades or refuses to spin freely) or becoming unsupported by computers. I could not get XP to read any of my W95era 5-1/4 floppies (I installed the drive, it would boot from a DOS disk) To recap. Don't count on longevity unless you want 33-1/3 LP's (I hear they are coming back into vogue. Almost 70 years of life, not bad ) |
Advert | |
|
01-05-2020, 01:10 PM | #3 |
Zealot
Posts: 106
Karma: 194274
Join Date: Jun 2011
Location: Montreal
Device: Kobo, Calibre
|
• Only one main Calibre database for fiction and nonfiction.
Programming or books with supplemental data/source code are zipped and added alongside. Used to keep comics separately >100mb per file as not to bloat the library, have so few I finally imported them. Audiobooks are still separate, I make "backup" with InAudible into individual mp3 chapters. The one filetype limit per book in Calibre means I create a m3u playlist and link it up. If I started today I'd create single m4b instead... • Epubs, etc are already compressed. I was sorting by Author/Book before and if I ever wanted to abandon Calibre I'd just strip the Ids and be done. 10 years later still using Calibre! • Filename when imported already avoid characters/symbols/lengths incompatibilities with other filesystems. • Column and other customization can be backed-up. Title, Tags, Description are saved in both the metadata.db and individual opf files. • It's recommended to use a local hard drive, networks drives at your own risk. I have Calibre running on a server that takes regular snapshots (ZFS) and sent offsite, most modern OS can do similar. Although OneDrive, DropBox, etc might lock files and create a mess. My server has a GUI, but you can also manage remotely with Calibre's server or something like calibre-web. |
01-05-2020, 05:20 PM | #4 | |
null operator (he/him)
Posts: 20,598
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
↑ ↑ ↑ ✔
See inline comments in blue Quote:
BR |
|
01-05-2020, 06:31 PM | #5 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
Many good points have been made.
I would add:
For me this means Linux. I don't have your requirements so I don't use ZFS or BTRFS with redundancy. I don't replace everything when the warranty runs out. And I don't make yearly archives. But other than that this is what I do. I only buy SSDs and HDDs that have 5 years warranty. My current workstation for calibre, and more, is a Lenovo ThinkPad with 32GB RAM, a 1TB Samsung 970EVO Plus NVMe and a 2TB Crucial MX500 SATA for backups. Ubuntu Mate 9.10. I have all my finished calibre libraries on it. And incoming. Not junk and duplicates. With finished I mean that metadata is pretty normalized, the cover is nice and the book is in good shape. Can you ever fully normalize metadata for a calibre library with more than one book? I run calibre using a script that automatically update a snapshot backup of my calibre libraries every time I run calibre. I update backup snapshots on a NAS, daily, when I charge. |
Advert | |
|
01-12-2020, 11:50 AM | #6 |
Member
Posts: 16
Karma: 10
Join Date: Jun 2018
Device: inkBOOK
|
Thanks to all of you for your replies. There are a lot of good tips that will help me to build my DB, and hopefully everyone else will find them useful too.
Sincerely, Peter |
02-23-2020, 01:51 PM | #7 | |
Enthusiast
Posts: 37
Karma: 7370
Join Date: Mar 2019
Device: iPad 2018
|
Quote:
Blankeyes |
|
02-23-2020, 05:25 PM | #8 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
It is just a bash script launching calibre and then, when calibre quits, runs rsync. So I think that you could run it fine on a Mac.
Originally it was inspired by Mike Rubel and his site "Easy Automated Snapshot-Style Backups with Linux and Rsync", but rewritten as part of a launch script for calibre. http://www.mikerubel.org/computers/rsync_snapshots/ I wrote about this already in 2014: https://www.mobileread.com/forums/sh...d.php?t=244228 That version simply deleted any snapshots after a certain time. Today I have added better deletion of old snapshots. So now I can keep, for instance, 7 daily snapshots, 4 weekly and 12 monthly snapshots. Or whatever I like. I use copies of this script for most of my backup needs. I run the scripts automatically using crontab entries on small single drive SBCs running Linux. Odroid HC2s with OMV 4 with 12TB or 16TB HDDs. And a RPi4 with two 8TB HDDs. The scripts backups folders on one NAS to another NAS. Or backup folders on one SSD on my laptop to another SSD on my laptop. Typically calibre libraries. Here is a current version of my rsync snapshot script: https://github.com/WikiBox/snapshot.sh Last edited by Adoby; 02-23-2020 at 05:30 PM. |
02-24-2020, 04:32 AM | #9 | |
Enthusiast
Posts: 37
Karma: 7370
Join Date: Mar 2019
Device: iPad 2018
|
Quote:
On another note - will Time Machine be suffice to use in a backup situation like this? |
|
02-24-2020, 07:43 AM | #10 |
Handy Elephant
Posts: 1,736
Karma: 26785668
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Thinkpad E595, Ubuntu Mate, Huawei Mediapad 5, Bouye Likebook Plus
|
I don't know much about Time Machine. I am not a Mac user. But I assume it creates snapshots on boot?
You have to decide if that is good enough and easy to recover and so on. |
02-24-2020, 01:39 PM | #11 |
Enthusiast
Posts: 37
Karma: 7370
Join Date: Mar 2019
Device: iPad 2018
|
|
02-24-2020, 04:16 PM | #12 |
null operator (he/him)
Posts: 20,598
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
My understanding is that Time Machine maintains real time copies of folders and files. It's similar to Windows' Previous Versions, and the Real Time Synch tools in the GoodSync and FreeFileSync backup products.
BR |
02-27-2020, 02:05 PM | #13 |
Enthusiast
Posts: 37
Karma: 7370
Join Date: Mar 2019
Device: iPad 2018
|
Thanks, BetterRed and Adoby
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Tips & Tricks] Creating a reading list | kguil | Marvin | 0 | 08-31-2013 06:32 AM |
Separating a library in two independent sets in the Calibre interfase | MrClockwise | Library Management | 4 | 07-31-2012 11:07 PM |
Independent Online Personal Book Library...? | ebookrights1 | General Discussions | 3 | 01-03-2011 11:42 AM |
Any tips for creating screensaver pictures on K3 ? | Tumbleweed | Amazon Kindle | 6 | 09-21-2010 11:24 PM |
Tips on creating EPUB | Student1 | ePub | 3 | 03-22-2009 12:41 AM |