#Moving PostgreSQL Database Host

4 messages · Page 1 of 1 (latest)

urban marsh
#

Hi! I'm currently trying to migrate an entire PostGres database from one host to another for my Django app.

What is the best way of doing this?
I've tried getting a dump and loading it into the app but I'm just hit with a world of errors regarding constraints etc. I also need to be certain of data integrity – nothing left behind!

zealous bramble
#

pg_dump pg_restore

tiny folio
fallow burrow
#

shutdown the app, pqdump, import dump into new db, restart app with new server name ?