Comment
This commit is contained in:
parent
1d98ff06a8
commit
f3dc1e33a9
|
@ -2417,6 +2417,7 @@ function get_mariadb_owncloud_admin_password {
|
|||
|
||||
function backup_directory_to_usb {
|
||||
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
|
||||
fi
|
||||
|
||||
|
@ -2435,7 +2436,6 @@ function backup_directory_to_usb {
|
|||
fi
|
||||
}
|
||||
|
||||
# For rsyncrypto usage see http://archive09.linux.com/feature/125322
|
||||
function create_backup_script {
|
||||
if grep -Fxq "create_backup_script" $COMPLETION_FILE; then
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue