Lost postgres database after upgrading Redhat from 7.8 to 7.9

Latest response

Hello,

After upgrading Redhat from 7.8 to 7.9 where I had postgres installed, I noticed that postgres databases that were there before the upgrade, were not present, so I reverted to my previous backup before upgrade takes place.
The commands that I executed were the following and there were no errors during the upgrade:

yum check-update

yum update

reboot

cat /etc/os-release

Can you please inform me if commands that were executed are the right ones and what should i do in order to upgrade to 7.9 but without loosing any of my postgres databases?

thank you,
Nadia

Responses