Skip to content

Instantly share code, notes, and snippets.

@lequanghuylc
Created October 16, 2019 03:28
Show Gist options
  • Save lequanghuylc/f32e2a8bcc26e43f7ff22d286e6538f4 to your computer and use it in GitHub Desktop.
Save lequanghuylc/f32e2a8bcc26e43f7ff22d286e6538f4 to your computer and use it in GitHub Desktop.
[psql command]
// import
psql -h localhost -U user -W -d database_name -f path/to/file.sql
// export
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment