Moode Forum
Backup MPD database - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: Backup MPD database (/showthread.php?tid=5619)



Backup MPD database - ststefanov - 06-10-2023

Hi, I have thousands of items in the file list and when I install new version I have to re-scan again whole library which needs several hours to finish.
Is it possible to add mpd database as option in the backup/restore process? What files need to be backed up (excluding /var/lib/mpd/database)?


RE: Backup MPD database - Tim Curtis - 06-10-2023

I've never tried backup/restore of the mpd database and related files but you could try the following:

/var/lib/mpd/database
/var/local/www/libcache_*
/var/local/www/imagesw/thmcache/*

The system you are restoring to would need to have the same named paths to the music files in /media or /mnt or there would be breakage because mpd database contains these named paths in the file: tag.