diff --git a/scripts/backup b/scripts/backup index fed3460..70f8a38 100755 --- a/scripts/backup +++ b/scripts/backup @@ -37,7 +37,7 @@ ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" #================================================= ynh_print_info --message="Backing up the PostgreSQL database..." -ynh_psql_dump_db --db_user=$db_user --app=$app +ynh_psql_dump_db --database="$db_name" > db.sql #================================================= # END OF SCRIPT