Backup Failed error

Perhaps it is the fact that IIRC Discourse has support for up to Postgres 15?

And perhaps it is also the fact that the two database versions are not the same (one 16 and the other 15)?