oops, restore script restores the mysql database twice
This commit is contained in:
parent
baab7fbd76
commit
45e8243ab8
1 changed files with 0 additions and 8 deletions
|
@ -77,14 +77,6 @@ ynh_restore_file --origin_path="/etc/$app/"
|
||||||
### For other apps, the simple way is better:
|
### For other apps, the simple way is better:
|
||||||
ynh_restore_file --origin_path="/var/log/$app/"
|
ynh_restore_file --origin_path="/var/log/$app/"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# RESTORE THE MYSQL DATABASE
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Restoring the MySQL database..." --weight=1
|
|
||||||
|
|
||||||
ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue