diff --git a/scripts/backup b/scripts/backup index b976e39..fc79009 100755 --- a/scripts/backup +++ b/scripts/backup @@ -49,9 +49,9 @@ ynh_backup --src_path="/etc/logrotate.d/$app" ynh_backup --src_path="/etc/systemd/system/$app.service" #================================================= -# BACKUP THE MYSQL DATABASE +# BACKUP THE DATABASE #================================================= -ynh_print_info --message="Backing up the MySQL database..." +ynh_print_info --message="Backing up the database..." ynh_psql_dump_db --database="$db_name" > db.sql diff --git a/scripts/restore b/scripts/restore index b675aec..c75a789 100755 --- a/scripts/restore +++ b/scripts/restore @@ -20,9 +20,9 @@ ynh_restore_file --origin_path="$install_dir" chown -R "$app:www-data" "$install_dir" #================================================= -# RESTORE THE MYSQL DATABASE +# RESTORE THE DATABASE #================================================= -ynh_script_progression --message="Restoring the MySQL database..." --weight=1 +ynh_script_progression --message="Restoring the database..." --weight=1 ynh_psql_connect_as --user="$db_user" --password="$db_pwd" --database="$db_name" < ./db.sql