سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top