View Single Post
Old 11-29-2025, 11:23 PM   #6
Amalthia
Wizard
Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.Amalthia ought to be getting tired of karma fortunes by now.
 
Amalthia's Avatar
 
Posts: 1,204
Karma: 1000000
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by DNSB View Post
AFAIR, from the last time I repaired a database, that command will look up the last used calibre library and automatically repair it. You can use the either --library-path=<path to library> or --with-library=<path to library> options after the -r to set a different library.

Say you have a intake library in D:\calibre library\intake, you would use
calibredb restore_database -r --library-path="D:\calibre library\intake" (the "s are needed since there is a space in the path).
I'm bookmarking this page! I like the idea of changing the library in command line vs switching the libraries before I run any maintenance commands for each library.

Thank you for the fast reply!
Amalthia
Amalthia is offline   Reply With Quote