Easiest way to restore postgres db is still using the backup and restore commands with pgadmin https://www.pgadmin.org/docs/pgadmin4/development/backup_and_restore.html