Pg_dump mismatch


I recently migrated from v8 to v13 with a bump from mysql to postgrSQL.

Now I’m trying to setup daily backups and I’m facing this issue with the DB.

Dumping PostgreSQL database gitlabhq_production ... pg_dump: error: server version: 13.1; pg_dump version: 12.6
pg_dump: error: aborting because of server version mismatch
rake aborted!
Backup::Error: Backup failed

Is there any support for 13.1 or do I need to backup the DB manually

Found this solution