Am trying to backup my databases through the terminal in Ubuntu using the mysqldump command and it's successful , but where does it place the backed up databases ?
Tell me more
×
Database Administrators Stack Exchange is a question and answer site for
database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.
migrated from stackoverflow.com Mar 1 '11 at 13:47
|
By default it does it to the console. You need to redirect the output to a file if you need to save it. |
|||||||||
|
|
Usually you use mysql dump like this
So the output is whatever file you redirect output to. The output file will contain instructions that will rebuild the database from scratch, including the schema, if your run it on a new install like so.
Here's wiki on IO redirection |
|||
|
|
|
It should also be noted that the mysqldump command also has a switch for a destination file.
|
|||
|
|