fix restore on backup with mysql DB

This commit is contained in:
OniriCorpe 2023-11-28 15:05:30 +01:00 committed by GitHub
parent 9defce59be
commit 13a4e745df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ then
ynh_print_info --message="Backing up the database..."
if [ $database == "mysql" ]; then
ynh_mysql_dump_db --database="$db_name" > db.sql*
ynh_mysql_dump_db --database="$db_name" > db.sql
elif [ $database == "postgresql" ]; then
ynh_psql_dump_db --database="$db_name" > db.sql
fi