Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save debborafernandess/d9c7ca3b8fa549f3a0bce91089991210 to your computer and use it in GitHub Desktop.
Save debborafernandess/d9c7ca3b8fa549f3a0bce91089991210 to your computer and use it in GitHub Desktop.
Steps:
- Na AWS, na instancia do `RDS DB`, ver o DNS da instância do banco
- Pegar no `database.yml` o user e password do banco da aplicação
- Rodar o comando `mysqldump -u user -h 'DNS_DA_INSTANCIA_DO_BANCO' DATABASE -p > dump.sql
- Informar a senha da aplicação quando for exigida a senha do banco.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment