Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top