I still am not sure what you want based on your description but if you want to transport a postgres database from local to cloud or from accp to production you can. See documentation here: https://docs.mendix.com/howto/tips/migrating-your-mendix-database
Regards,
Ronald