How to Backup and Restore Server

Madsonic Server 6.x
Eddie
Posts: 28
Joined: 05 Jan 2017, 05:42
Has thanked: 2 times
Been thanked: 9 times

How to Backup and Restore Server

Unread post 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?
Last edited by Eddie on 30 Apr 2018, 02:13, edited 2 times in total.
Eddie
Posts: 28
Joined: 05 Jan 2017, 05:42
Has thanked: 2 times
Been thanked: 9 times

Re: How to Backup and Restore Server

Unread post by Eddie »

I updated my original post
Eddie
Posts: 28
Joined: 05 Jan 2017, 05:42
Has thanked: 2 times
Been thanked: 9 times

Re: How to Backup and Restore Server

Unread post by Eddie »

I was just wondering if anything has changed?
What is the recommended way to backup madsonic with all the settings playlist etc....?
AdamKeegan55
Posts: 3
Joined: 25 Nov 2019, 18:52
Has thanked: 0
Been thanked: 0

Re: How to Backup and Restore Server

Unread post by AdamKeegan55 »

Thanks!
Post Reply