I have a fairly tidy, hand-organized, library, which I recently decided to move to beets. I went through the, very long, process of importing everything and cleaning up afterwards, only to experience a catastrophic hardware failure.
Luckily, I had automatically backed up both the beets music folder, as well as the library.db and beets.log. Sadly, I had lost my config.yaml file. Is there some way to recover the config.yaml via the log and/or the library?
Note that this was also brought up on IRC:
Like it was said there, neither the log file not the database file contains any information (directly) about what was in your
config.yaml file. Some information may be derived from it (e.g.,
paths), but a lot of other things will be permanently lost. I looked at your .log file and it basically contains nothing other than a list of directories that were skipped for importing. If you were using any plugins etc., you will simply have to remember which ones and reenable them.
On IRC you worried about inconsistencies. I honestly wouldn’t worry too much about that. Most things you can force-update everything in your database (e.g.,
beet fetchart --force to fetch cover art for all releases, overwriting already existing ones).
Unless of course you’ve done fancy things with your setup that you’re not telling us about, I would just make a config that points to your existing database, log file, and music directory.