function name clash

This commit is contained in:
Bob Mottram 2016-11-01 20:52:42 +00:00
parent fc298bf82c
commit 9ec2bf6cbd
1 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ function backup_unmount_drive {
fi
}
function backup_database_local {
function backup_database_local_usb {
if [ ${#DATABASE_PASSWORD} -lt 2 ]; then
echo $"No MariaDB password was given"
function_check restart_site
@ -307,7 +307,7 @@ function restore_directory_from_friend {
function backup_database_to_usb {
database_name=$1
local_database_dir=/root/temp${1}data
backup_database_local ${database_name}
backup_database_local_usb ${database_name}
if [ ! -f ${local_database_dir}/${1}.sql ]; then
echo $"Error backing up ${1} database to ${local_database_dir}/${1}.sql"
exit 62383