I'm currently pushing local data up to a AWS RDS db - but because of the data size, this is taking a long time. Was hoping someone might be able to suggest a way to get the dump file compressed before sending up (and then getting it read at the other end)
Currently the dump file is being written thus:
pg_dump -t properties_staging --data-only project_development > data/properties_staging.dump
And pushed up to AWS this way:
psql -a -h blahblahblah.blahblahblah.eu-west-1.rds.amazonaws.com -U master -d ebdb -p 5432 < data/properties_staging.dump
What are the best options available for slimming this dump file down while still punting it up to RDS?
All suggestions very gratefully received.
Thanks