i describe the situation:
i have two pc with postgressql server:
- a main pc, with ip 192.168.5.1 turned on
- a "backup" pc, with ip 192.168.5.1 turned off
i want that the main pc saves the database in local hard drive and on a
nas real-time. when the main pc has a failure, i turn on, manually, the
secondary pc, that reads the database from the nas
how i can do that?