View Single Post
Old Yesterday, 10:13 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 48,676
Karma: 174510110
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Amalthia View Post
Hi, in the command prompt do you need to be in a specific directory to run this command?

When I open command prompt with the cmd command my default directory is
C:\Users\my-username"

To run calibredb do we need to navigate to our Calibre library first?
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).
DNSB is offline   Reply With Quote