Yooooomi / your_spotify

Self hosted Spotify tracking dashboard
GNU General Public License v3.0
3.12k stars 125 forks source link

[Question] Backup and restore database #181

Closed demetera closed 1 year ago

demetera commented 1 year ago

Would be useful for users, who are not (yet) familiar with docker, how to backup accumulated data in Mongo database (if I need to move/reinstall server), or do I have to request data from Spotify?

As I understand, technically it can be achieved by bringing old Mongo container to the new environment, but maybe someone could help with exact docker commands in this case.

Thank you

Yooooomi commented 1 year ago

Hello! The only way now is to backup the volume of the mongo container. Either by mounting a directory like in the example or to create a docker volume.