Last active
February 23, 2016 12:04
-
-
Save OneWeb/f558ba6f4bdb63fc43bd to your computer and use it in GitHub Desktop.
Subsonic Backup Data on Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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