Local backup function for dlna

This commit is contained in:
Bob Mottram 2016-07-07 10:05:27 +01:00
parent d919518eb9
commit 6beae8d5f3
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 11 additions and 2 deletions

View File

@ -31,7 +31,7 @@
VARIANTS='full media'
function upgrade_dlna {
echo ''
echo ''
}
function configure_firewall_for_dlna {
@ -53,7 +53,16 @@ function configure_firewall_for_dlna {
}
function backup_local_dlna {
echo ''
source_directory=/var/cache/minidlna
if [ -d $source_directory ]; then
dest_directory=dlna
echo $"Backing up $source_directory to $dest_directory"
function_check backup_directory_to_usb
backup_directory_to_usb $source_directory $dest_directory
echo $"Backup to $dest_directory complete"
fi
}
function backup_remote_dlna {