Restore database name

This commit is contained in:
Bob Mottram 2017-05-11 23:51:07 +01:00
parent 80553d9d8b
commit 4c350a032e
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ function restore_database {
restore_app_dir=$2
if [ -d $USB_MOUNT/backup/${restore_app_name} ]; then
echo $"Restoring ${1} database"
echo $"Restoring ${restore_app_name} database"
local_database_dir=/root/temp${restore_app_name}data
function_check restore_directory_from_usb
restore_directory_from_usb "${local_database}" "${restore_app_name}data"