Migration of Database from current environment to new environment

I am setting up new connect environment (2023.06.0 version) on Linux servers.

We are using postgres database on currently using connect (2021.12.1 version) environment. I took a snapshot of postgres database (rstudio) of current connect environment and restored it in new postgres server and checked that there are records in users table and other tables as well. Then I configured this restored database (rstudio) while setting up new environment (2023.06.0 version). After setup is done there are no records in users table or any other table in postgres database.

It seems like the connect setup or installation process is deleting records from all the tables or recreating all the tables by dropping existing tables. What is the process to configure my currently using postgres database to the new environment?