This commit is contained in:
Bob Mottram 2015-09-13 14:17:14 +01:00
parent 1d98ff06a8
commit f3dc1e33a9
1 changed files with 1 additions and 1 deletions

View File

@ -2417,6 +2417,7 @@ function get_mariadb_owncloud_admin_password {
function backup_directory_to_usb { function backup_directory_to_usb {
if [[ $BACKUP_TYPE == 'rsync' ]]; then if [[ $BACKUP_TYPE == 'rsync' ]]; then
# For rsyncrypto usage see http://archive09.linux.com/feature/125322
echo "rsyncrypto -v -r ${1} $USB_MOUNT/backup/${2} $USB_MOUNT/backup/${2}.keys $BACKUP_CERTIFICATE" >> /usr/bin/$BACKUP_SCRIPT_NAME echo "rsyncrypto -v -r ${1} $USB_MOUNT/backup/${2} $USB_MOUNT/backup/${2}.keys $BACKUP_CERTIFICATE" >> /usr/bin/$BACKUP_SCRIPT_NAME
fi fi
@ -2435,7 +2436,6 @@ function backup_directory_to_usb {
fi fi
} }
# For rsyncrypto usage see http://archive09.linux.com/feature/125322
function create_backup_script { function create_backup_script {
if grep -Fxq "create_backup_script" $COMPLETION_FILE; then if grep -Fxq "create_backup_script" $COMPLETION_FILE; then
return return