restore database test
This commit is contained in:
parent
a14ac0ff82
commit
57cc40019d
|
@ -705,6 +705,7 @@ function restore_database {
|
||||||
USE_MONGODB=
|
USE_MONGODB=
|
||||||
USE_POSTGRESQL=
|
USE_POSTGRESQL=
|
||||||
keep_database_running
|
keep_database_running
|
||||||
|
cp $database_file ~/test.sql
|
||||||
mysqlsuccess=$(mysql -u root --password="$DATABASE_PASSWORD" ${restore_app_name} -o < $database_file)
|
mysqlsuccess=$(mysql -u root --password="$DATABASE_PASSWORD" ${restore_app_name} -o < $database_file)
|
||||||
else
|
else
|
||||||
USE_MONGODB=
|
USE_MONGODB=
|
||||||
|
|
Loading…
Reference in New Issue