Linux

Where Does Swing Music Store Data and Music?

Which Docker volumes hold the Swing Music database, covers and config, and how to back them up.

Last updated

Swing Music stores nothing fixed on the host. Your compose file maps host folders into the container for data (database, covers, settings) and music (the audio library itself). The host side is whatever you typed during setup.

Read the volumes section first. A common layout keeps data and music folders beside the compose file. Back up both with the container stopped; the database dislikes live copies while scans or streams run.

Where Swing Music stores this, by platform

Linux
/opt/swingmusic/data

Host folders mapped in compose to container data and music. Common parent is user chosen, often under opt or srv. Stop the container before copying.

Frequently asked questions

How do I back up Swing Music?

Stop the stack and copy the host folders mapped to data and music plus your compose file. Metadata and covers live in data, audio in music. One half alone restores poorly.

My Swing Music paths differ from examples. Which is right?

Open your docker-compose.yml and read the volumes lines. Those host paths are the real locations on your machine. Container paths stay constant while host paths vary per install.

Notice an outdated path? Let us know.