I hope I am asking this question in the correct section.I have an environment setup for my application which consists of  master / slave Postgresql databases. The master and slave are being replicated using streaming replication. Everything works good.Right now I am in the process of setting up a DR environment, which is a replica of my main site. What I would like to know is what would be the best way have synchronization setup for my main and DR site, so if one day I need to switch to my DR, the data in the database is the latest.Thanks in advance ! 
DB Synchronization between main and DR site
synchronization;postgresql