Migrate postgres dump to RDS
问题 I have a Django postgres db (v9.3.10) running on digital ocean and am trying to migrate it over to Amazon RDS (postgres v 9.4.5). The RDS is a db.m3.xlarge instance with 300GB. I've dumped the Digital Ocean db with: sudo -u postgres pg_dump -Fc -o -f /home/<user>/db.sql <dbname> And now I'm trying to migrate it over with: pg_restore -h <RDS endpoint> --clean -Fc -v -d <dbname> -U <RDS master user> /home/<user>/db.sql The only error I see is: pg_restore: [archiver (db)] Error from TOC entry