How to Backup and Restore Server

Madsonic Server 6.x

How to Backup and Restore Server

Unread postby Eddie » 24 Apr 2018, 13:03

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: 19
Joined: 05 Jan 2017, 05:42
Has thanked: 2 times
Been thanked: 3 times

Re: How to Backup and Restore Server

Unread postby Eddie » 29 Apr 2018, 20:45

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

Re: How to Backup and Restore Server

Unread postby Eddie » 18 Sep 2018, 03:38

I was just wondering if anything has changed?
What is the recommended way to backup madsonic with all the settings playlist etc....?
Eddie
 
Posts: 19
Joined: 05 Jan 2017, 05:42
Has thanked: 2 times
Been thanked: 3 times


Return to Server 6.x

Who is online

Users browsing this forum: No registered users and 1 guest

cron