Skip to content

Instantly share code, notes, and snippets.

@igor-rodrigues2017
Last active August 26, 2020 02:55
Show Gist options
  • Save igor-rodrigues2017/96db4b56f66aea7111129dddcb8d7a85 to your computer and use it in GitHub Desktop.
Save igor-rodrigues2017/96db4b56f66aea7111129dddcb8d7a85 to your computer and use it in GitHub Desktop.
comandos banco de dados
Postgres:
Backup: pg_dump -h host -p 5432 -U postgres -Fc -v -f database.dump -d database
Restore: pg_restore -U seuusuario -d suabase -v arquivo.dump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment