Set up recovery config depends on the database version

Goal

Set up recovery configuartion depends on the database version because the standby_mode setting has been removed and isn't available for PostgreSQL 12+

TODO / How to implement

Add database version awareness to the restore configurator

Acceptance criteria