View Single Post
Old 05-06-2024, 10:07 PM   #29
Cactus Chef
Addict
Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.Cactus Chef ought to be getting tired of karma fortunes by now.
 
Cactus Chef's Avatar
 
Posts: 320
Karma: 5736038
Join Date: Apr 2019
Device: Kobo Sage, Kobo Clara HD, Galaxy Tab S5e, Kindle 4th Gen
So, went back and did it again (because I bought a couple books in the past few days and needed to back them up), and, yeah, I had "--ignore-existing" on in the rsync arguments, and that's why the metadata file wasn't coming over. I copied the metadata.db and metata.db backup files manually, and all is good now.

That makes me even more confused, though, as to why I had so many books that rsync needed to re-copy when I did my last sync. I did a full backup and restore in August 2023 (which included full library and config files). When I did the first rsync a couple weeks ago, a bunch of books that were already there were picked up by rsync again. Did Calibre make some change between versions that renamed some of the library folders on the filesystem such that rsync saw them as new files and needed to copy them? That's the only thing I can think of that would explain it.

Otherwise, I probably need to do one more rsync and turn off --ignore-existing just to make sure I'm truly getting everything. If I'm remembering my rsync-fu, even if it flags my entire library as needing to copy, it should basically skip the files and transfer 0/0 bytes on each one when it determines that the hashes between the source and destination of each EPUB are the same, right?
Cactus Chef is offline   Reply With Quote