Page 1 of 1

Transferring Users/Settings to New Installation (How?)

PostPosted: Thu Mar 24, 2016 2:20 pm
by flipjargendy
How do I transfer my users and their settings over to a new installation of Subsonic? I'm using the standalone version on Linux. I'm upgrading from 5.2 to 5.3 for now but might upgrade to beta.

Re: Transferring Users/Settings to New Installation (How?)

PostPosted: Fri Apr 01, 2016 1:38 am
by tetorocks
I just had to do this on my server. After several failed attempts, this is what worked for me.

cd /var/subsonic/
service subsonic stop
rm db/*
copy your subsonic.script from the old db folder backup to the new install db folder
chmod 644 db/* <---- may not be necessary for everyone, but was for me
service subsonic start

Hope that helps.

Re: Transferring Users/Settings to New Installation (How?)

PostPosted: Mon Apr 11, 2016 12:17 pm
by henkjas
This is the way I do it:

First backup Subsonic settings/users etc.

Make connection to your subsonic server (putty or on the terminal) log in as root. (or as close as you can get in case of Ubuntu)

Let's say your music is on /media/subsonic/music, then create a backup folder beside your music.

mkdir /media/subsonic/backup

And create a db-folder:

mkdir /media/subsonic/backup/db

Now copy the important files to your backup folder:

cp /var/subsonic/subsonic.properties /media/subsonic/backup
cp /var/subsonic/db/*.* /media/subsonic/backup/db


If the media folder is a samba-share to a NAS or something you can just re-install your server, otherwise you have to move everything from /media/subsonic/backup to another location.


Now to copy all settings to another Subsonic installation:

You could copy the settings-stuff back again to /media/subsonic/backup (after you created these folders of course).

Now first halt the subsonic service:

service subsonic stop

and copy the settings files to the subsonic installation.

cp /media/subsonic/backup/subsonic.properties /var/subsonic
cp /media/subsonic/backup/db/*.* /var/subsonic/db


and start the subsonic-serice again:

service subsonic start.

(or restart your server: shutdown -r now)

That's all. These are all Debian commands. When you have an Ubuntu installation you have to put 'sudo' in front of the commands but the rest is the same.