by 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.