Skip to content

Instantly share code, notes, and snippets.

@tvass
Created August 1, 2018 15:11
Show Gist options
  • Select an option

  • Save tvass/e6e1776f2a1d9f50ec4cdc6137d3eb86 to your computer and use it in GitHub Desktop.

Select an option

Save tvass/e6e1776f2a1d9f50ec4cdc6137d3eb86 to your computer and use it in GitHub Desktop.
pg backup command
pg_dump -h localhost -U dci -d dci -Fc > backup
pg_restore -h localhost -U dci -d dci --clean backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment