Pergunta

What would be a good way to replicate "Heroku pg:push/pull" style turn-key database replication on a private stack?

Foi útil?

Solução

You can just do what pg:push/pull is doing: a pg_dump piped to a pg_restore. See the [source code here].1

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top