Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Show actual status during beckup #1239

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions InstallFullDB.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2149,29 +2149,37 @@ function build_backup_filename()
case $1 in
"WORLD")
if ! get_clean_core_version $DB_WORLDDB_VERSION; then
echo ">>> ERROR: Unable to read $1 version!"
false
return
fi
;;
"CHAR")
if ! get_clean_core_version $DB_CHARDB_VERSION; then
echo ">>> ERROR: Unable to read $1 version!"
false
return
fi
;;
"REALM")
if ! get_clean_core_version $DB_REALMDB_VERSION; then
echo ">>> ERROR: Unable to read $1 version!"
false
return
fi
;;
"LOGS")
if ! get_clean_core_version $DB_LOGSDB_VERSION; then
echo ">>> ERROR: Unable to read $1 version!"
false
return
fi
;;
*) false; return;;
*)
echo ">>> ERROR: Missing backup file option for $1!"
false
return
;;
esac

cleanversion="${CLEAN_CORE_VERSION}"
Expand All @@ -2194,7 +2202,6 @@ function build_backup_filename()
# valid dbname: WORLD, CHAR, REALM, LOGS
function backup_create()
{
clear
check_dbs_accessibility
local compress=${2:-true}
local filename=""
Expand Down