Skip to content
Snippets Groups Projects
Commit 9ec2bf6c authored by Bob Mottram's avatar Bob Mottram
Browse files

function name clash

parent fc298bf8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment