Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Copy database / backup
#2
Cool, a solar powered Pi :-)

The EQ's work only on Local MPD output.

moOde has an auto-configure feature that makes cloning SDCards for other Pi's easier. Its described in the Setup Guide.
https://github.com/moode-player/moode/bl.../setup.txt

- Write a fresh image to an SDCard
- Create the moodecfg.txt file and change the names as needed
- Copy it to the /boot partition on the SDCard
- Boot up and moOde will automatically make the name changes and then reboot itself

I've not tried it but you could try saving the MPD database and optionally the thumbnail cache images from one system and then restore to another. If the song files are on a NAS then you would also need to create that NAS config.  

/var/lib/mpd/database
Code:
pi@rp3:~ $ ls -l /var/lib/mpd
total 164
-rw-r--r-- 1 mpd  audio 148376 Dec  6 21:30 database
drwxr-xr-x 3 mpd  audio   4096 Sep 29 09:44 music
drwxr-xr-x 2 mpd  audio   4096 Nov 27 07:52 playlists
-rw-r--r-- 1 mpd  audio   3656 Dec 12 11:23 state
-rwxr-xr-x 1 root root    3072 Sep 29 09:44 sticker.sql

/var/local/www/imagesw/thmcache
Code:
pi@rp3:~ $ ls -l /var/local/www/imagesw
total 608
-rw-r--r-- 1 root root  578947 Nov  9 19:00 bgimage.jpg
drwxr-xr-x 2 root root   24576 Dec  6 21:30 thmcache
-rwxr-xr-x 1 root staff    320 Dec  9 12:42 thumb.svg
-rwxr-xr-x 1 root staff    322 Dec  9 12:42 thumb-w.svg
drwxr-xr-x 2 root staff   4096 Sep 29 09:44 toggle

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
Copy database / backup - by Lukesan - 12-12-2018, 06:35 AM
RE: Copy database / backup - by Tim Curtis - 12-12-2018, 04:32 PM
RE: Copy database / backup - by Lukesan - 12-12-2018, 09:52 PM

Forum Jump: