Page 1 of 1

How to Backup and Restore Server

Unread postPosted: 24 Apr 2018, 13:03
by Eddie
I can find absolutely no documentation on how to backup a madsonic server for some strange reason

I am running MADSONIC 6.3.9840.3e2ad42.20180107.0908 on an Ubuntu 16.04 Server.

I think i figured out how to backup the server using other forks of this project documentation.

It would be nice if someone with authority could respond if i am doing things right or wrong

#This should list madsonic as a running service
service --status-all

#Stop madsonic from running on current server and new server
service madsonic stop

#Copy the database from current server to backup location
cp /var/madsonic/db /location/of/backup/db

#Delete contents of db directory in NEW Server
rm -rf /var/madsonic/db/*

#Paste contents of db into new madsonic server
cp -a /location/of/backup/db/. /var/madsonic/db

#Start the madsonic service
service madsonic start

This seems to work at least for me for now.... is there anything i am missing?

Re: How to Backup and Restore Server

Unread postPosted: 29 Apr 2018, 20:45
by Eddie
I updated my original post