Restoring backup fails due to Postgres version mismatch

Exactly. I’ve upgraded postgres to make it work..