mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 13:23:12 +01:00
Set db type from env vars correctly during restore
This commit is contained in:
@@ -351,7 +351,7 @@ EOF
|
||||
read -p "$(echo -e ${clg}** ${cdgy}Enter Value \(${cwh}E${cdgy}\) \| \(${cwh}M${cdgy}\) \| \(${cwh}P${cdgy}\) : ${cwh}${coff}) " q_dbtype
|
||||
case "${q_dbtype,,}" in
|
||||
e* | "" )
|
||||
r_dbtype=${db_name}
|
||||
r_dbtype=${DB_TYPE}
|
||||
break
|
||||
;;
|
||||
m* )
|
||||
@@ -398,7 +398,7 @@ EOF
|
||||
read -p "$(echo -e ${clg}** ${cdgy}Enter Value \(${cwh}E${cdgy}\) \| \(${cwh}F${cdgy}\) \| \(${cwh}M${cdgy}\) \| \(${cwh}P${cdgy}\) : ${cwh}${coff}) " q_dbtype
|
||||
case "${q_dbtype,,}" in
|
||||
e* | "" )
|
||||
r_dbtype=${dbtype}
|
||||
r_dbtype=${DB_TYPE}
|
||||
break
|
||||
;;
|
||||
f* )
|
||||
|
||||
Reference in New Issue
Block a user