Skip to content

Instantly share code, notes, and snippets.

@OneWeb
Last active February 23, 2016 12:04
Show Gist options
  • Save OneWeb/f558ba6f4bdb63fc43bd to your computer and use it in GitHub Desktop.
Save OneWeb/f558ba6f4bdb63fc43bd to your computer and use it in GitHub Desktop.
Subsonic Backup Data on Ubuntu
#!/bin/bash
SUBSONIC_DATA=/var/subsonic/db
SUBSONIC_NEW_DATA=/media/bigbird/Backups/subsonic/
service subsonic stop
sleep 45
rsync -a $SUBSONIC_DATA $SUBSONIC_NEW_DATA
service subsonic start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment