A
A
Artem2018-07-13 10:16:59
PostgreSQL
Artem, 2018-07-13 10:16:59

Automatic write to two Postgresql databases?

Greetings!
There are two servers with postgresql. The data is written to the database on one of the servers.
But I want the data to be automatically written to the second database too - for the purpose of backup.
It is clear that you can set up a record in two databases in the code.
But for some reason I am sure that there are some ready-made solutions for this using the database tools.
Tell me, in which direction to dig?
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
awesomer, 2018-07-13
@devspec

https://postgrespro.ru/docs/postgrespro/9.5/runtim...
Standby, Slave

B
bkosun, 2018-07-13
@bkosun

Data replication

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question