Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 417 Bytes

import-dump.md

File metadata and controls

16 lines (10 loc) · 417 Bytes

Import Database Dump

psql -h {{HOST}} -d {[DATABASE]} -U {{USERNAME}} -f {{FILE_NAME}}

  • HOST: Hostname
  • DATABASE: Database name
  • USERNAME: Databse username
  • FILE_NAME: Filename/path of the sql dump file

Example:

psql -h ak-cli-12qq1ww1w.rds.amazonaws.com -d ak-cli-database -U ak-cli-user -f ak-cli-dump-july-2019.sql

Related