Updating and backups
Updating
Section titled “Updating”Read the release notes first, take a backup, then:
git pull # compose.yaml and .env.example, for what's new in themdocker compose pull # the newest imagedocker compose up -dWith PLEKSTENDER_PULL_POLICY=always in .env, docker compose up -d gets the newest image by itself.
The database is migrated when the app starts. Settings → About shows the version you’re running and can check for a newer one.
Backups
Section titled “Backups”Back up regularly, and before every update:
-
The database (ratings, history, playlists, settings), with the stack running:
Terminal window docker compose exec -T db sh -c 'pg_dump -U "$POSTGRES_USER" -Fc "$POSTGRES_DB"' > plekstender.dumpTo restore it, stop the app (
docker compose stop frontend worker), then rundocker compose exec -T db sh -c 'pg_restore -U "$POSTGRES_USER" -d "$POSTGRES_DB" --clean --if-exists' < plekstender.dumpand start it again. -
The
datavolume (fonts, uploads, logo packs, previews, video covers):Terminal window docker run --rm -v plekstender_data:/data:ro -v "$PWD":/backup alpine tar czf /backup/plekstender-data.tgz -C /data . -
Your music files, if you’ve let Plekstender change them. Every change can be undone from Tag history, but that isn’t a backup.