sudo amazon-linux-extras install postgresql10 |
pg_dump --exclude-table=colormaps --disable-triggers --data-only DATABASE_TO_EXPORT > FILENAME_TO_EXPORT_TO.sql |
psql --host RDS_ENDPOINT --port 5432 --username edsc --password --dbname edsc_prod < FILENAME_TO_IMPORT.sql |