mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
24 lines
481 B
Markdown
24 lines
481 B
Markdown
# Restoring Calibre From Backup
|
|
|
|
The `metadata.db` holds the library and `app.db` and `gdrive.db` contain the
|
|
web/account information.
|
|
|
|
Place books directories in `/data/books/`.
|
|
|
|
Place `metadata.db` in `/var/lib/calibre-web-db/`.
|
|
|
|
Symlink `metadata.db` to the library:
|
|
|
|
```
|
|
sudo ln -s /var/lib/calibre-web-db/metadata.db /data/books/metadata.db
|
|
```
|
|
|
|
Place `app.db` and `gdrive.db` in `/var/lib/calibre-web/`.
|
|
|
|
Restart Calibre:
|
|
|
|
```
|
|
sudo systemctl restart calibre-web.service
|
|
```
|
|
|