I use the following set up commands on my Debian virtual machine, monthly, to backup a snapshot of my Roon Library in a separate directory. I also use zfs snapshots of the “working directory” so there are in effect, daily backups of the Roon library, but since I stop the server and backup, then restart, these have the best chance of being ‘good’ backups.
-
“# stop, backup roonServer”
-
systemctl stop roonserver
-
cd /var/roon/RoonServer; tar -cvf RoonBackup-
date +%Y%m%d
.tar Cache/ Database/ Settings/ Logs/ -
mv RoonBackup-
date +%Y%m%d
.tar /server/backup/RoonServer/ -
systemctl start roonserver