Answer the question
In order to leave comments, you need to log in
Postgresql what is the best way to organize a backup?
Good afternoon.
There are three docker containers with nginx, postgresql 9.5, django
The task was to organize a backup of the postgresql
database Is it possible to run another container with another DBMS process by cron and dump it into a shared resource?
Or is it better to do docker exec postgresql .... ?
Or maybe it's better to just physically copy the files on the disk to another location?
How does it work for you?
Answer the question
In order to leave comments, you need to log in
Модифицировал dockerfile postgres, убрал оттуда cmd ["postgres"], чтобы он автоматом не запускался после создания любого контейнера из образа
Теперь могу в docker-compose создать несколько сервисов с разными командами для postgres
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question