From 57a7d5684d19c6ce23ddf5bbd0f838486da0cb14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:21:46 +0200 Subject: [PATCH] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 472ab6a..a4755f9 100755 --- a/scripts/restore +++ b/scripts/restore @@ -34,7 +34,7 @@ chown -R "$app:www-data" "$data_dir" #================================================= ynh_script_progression --message="Restoring the PostgreSQL database..." --weight=5 -ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql +ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql #================================================= # RESTORE SYSTEMD