O
O
Ord EO2019-03-14 16:33:18
Heroku
Ord EO, 2019-03-14 16:33:18

How to dump a database in heroku?

There is a ruby ​​project that I'm trying to deploy to heroku, tell me how to dump the database on heroku.
Perhaps there is some kind of instruction or article for a beginner, tell me please

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2019-03-14
@OrdeO

1. Connect MySQL to the project
2. Upload the dump

mysql --host=us-cdbr-east.cleardb.com --user=username --password=******* --reconnect database_name < dump.sql

R
Roman Mirilaczvili, 2019-03-14
@2ord

For MySQL, this is the mysqldump command, or other typical MySQL backup tools.
Information about the server address can be obtained from the corresponding MySQL add-on.
https://losst.ru/rezervnoe-kopirovanie-mysql-bazy-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question