Skip to content

Instantly share code, notes, and snippets.

@parth-choudhary
Created July 18, 2018 17:34
Show Gist options
  • Save parth-choudhary/d30ce497645e1d3b9af2e14d4b04bb1d to your computer and use it in GitHub Desktop.
Save parth-choudhary/d30ce497645e1d3b9af2e14d4b04bb1d to your computer and use it in GitHub Desktop.
script to import data in Amazon RDS for Postgresql
pg_restore --no-owner --role=<role> -d <db_name> <db_name.dump> -h <host_name> -U <user> -n public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment