A
A
Alghazanth2017-09-01 15:54:54
PostgreSQL
Alghazanth, 2017-09-01 15:54:54

How to implement offline synchronization of two PostgreSQL databases?

Problem: there is a combat base spinning in an isolated network, there is only physical access. It is necessary to periodically somehow clone the data into another database manually, but each time it takes a very long time to do a complete dump of the database, the database is large. How can you organize the synchronization of a copy of the database with the combat one without transferring at each synchronization in its entirety?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Kuznetsov, 2017-09-01
@Alghazanth

Look at incremental backup.
https://wiki.postgresql.org/wiki/Incremental_backup
Options:
https://stackoverflow.com/questions/5529603/best-m...
https://coderwall.com/p/jxebnw/incremental-backups.. .

N
Nikolay Baranenko, 2017-09-01
@drno-reg

you need to implement a warehouse project

D
Dmitry MiksIr, 2017-09-01
@miksir

If your second base is read-only, then the built-in hot standby mechanism will work
https://www.postgresql.org/docs/current/static/hot...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question