Skip to content

Instantly share code, notes, and snippets.

@hunt3ri
Last active May 23, 2017 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hunt3ri/12dd862b50c2cbffacbb36c637dc3226 to your computer and use it in GitHub Desktop.
Save hunt3ri/12dd862b50c2cbffacbb36c637dc3226 to your computer and use it in GitHub Desktop.
Restore postgres db using pgrestore
pg_restore --host=<youHost>.eu-west-1.rds.amazonaws.com --port=5432 --username=<yourAdminUser> --password --dbname=<yourDB> /data-loader/dumpfile.dmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment