Transferring Users/Settings to New Installation (How?)

Need help? Post your questions here.

Moderator: moderators

Transferring Users/Settings to New Installation (How?)

Postby flipjargendy » Thu Mar 24, 2016 2:20 pm

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.
flipjargendy
 
Posts: 6
Joined: Fri Sep 25, 2015 5:31 pm

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

Postby tetorocks » Fri Apr 01, 2016 1:38 am

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.
tetorocks
 
Posts: 1
Joined: Fri Apr 01, 2016 1:28 am

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

Postby henkjas » Mon Apr 11, 2016 12:17 pm

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.
henkjas
 
Posts: 5
Joined: Thu Dec 24, 2015 7:19 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 38 guests