Skip to content

Instantly share code, notes, and snippets.

@alfikridotname
Created November 13, 2023 12:21
Show Gist options
  • Save alfikridotname/a71aba56f08149da8ce9b9ed376a9b86 to your computer and use it in GitHub Desktop.
Save alfikridotname/a71aba56f08149da8ce9b9ed376a9b86 to your computer and use it in GitHub Desktop.
PGDUMP LINUX COMMAND
$db = 'bsj_dev'
$backupFile = 'tes.sql'
pg_dump -h 127.0.0.1 -p 5432 -U postgres --quote-all-identifiers --inserts -d $db > $backupFile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment