Quote:
Originally Posted by zab0
No, all my attempts kept broking the installation. I simply don't know enough about apache to solve this. Yet. 
So for now I set it aside, as it was more about tidiness of coding, and switched the focus on how to update my metadata.db file (the one read by COPS) as my library grows. See, my COPS installation resides on a NAS but for some reason Calibre won't work with a db placed on a networked drive. So for now I have to update (with Calibre) a local copy of my library then mirror it (ebook files and metadata.db) on the server. I'm serching for a way to automate this. For now I just moved my library under the directory visible to the http server (/var/www), thus losing the benefits of COPS (plus, it's ugly), but I plan to dig into P2P syncing (Bittorrent Sync, Syncthing) to see if it's for me.
|
As @mariosipad mentioned, you can use rsync (linux) or something similar to mirror your master calibre databases to the NAS. To automate it, you can use crontab (again, linux) and put in any update schedule you prefer. I think Windows also has a "scheduler" you can use to automate running programs and scripts.