Page 1 of 1

What files contain my user accounts and settings?

PostPosted: Sun Sep 19, 2010 3:24 am
by rodan1967
I want to do a clean install but do not want to lose the users and passwords. Is there a file I can copy and restore once I do a clean install?

PostPosted: Sun Sep 19, 2010 12:33 pm
by bormuff
That data is stored in the 'user' table within the DB. You might be able to achieve what you want by backing up the db file [1] and then copying it back in after your new install.

I can also think of some ways to achieve this using the db.view [2] but that is probably rather advanced and I don't know if that interface allows multiple commands at a time.

[1] Location, and possibly name, might vary between OSes, I think in Ubuntu by default it is: /var/subsonic/db/subsonic.data
[2] https://sourceforge.net/apps/mediawiki/ ... e=Database