Upgrading PostgreSQL db files to current version

I took a Fedora upgrade and now my PostgreSQL db has an old format that the latest DB version will not accept. The safe upgrade seems to require both versions to upgrade the data. I could also use a docker image to export the old data, but I am unclear how to get a base image with the original version of PostgreSQL. Any suggestions on how to either have both versions of the DB software on the same system or where to get a base image with PostgreSQL 9.x?

Hi @dcymbala; maybe (ManKier):

Downgrade Command

dnf [options] downgrade <package-spec>…

Downgrades the specified packages to the highest installable package of all known lower versions if possible.  When version is given and is lower than version of installed package then it downgrades to target version.