docs:mysql:mysqldump

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:mysql:mysqldump [2007/08/09 15:32] billhdocs:mysql:mysqldump [2008/08/03 00:25] (current) – external edit 127.0.0.1
Line 10: Line 10:
  
 ===== examples ===== ===== examples =====
 +My example...adds create database statements too so the only thing you need to do is source the file to restore
 +<code>
 +mysqldump -u user -p --opt --databases "database" > "database".sql
 +</code>
 +
 The most normal use of mysqldump is probably for making a backup of whole databases.  See Mysql Manual section 21.2 Database Backups. The most normal use of mysqldump is probably for making a backup of whole databases.  See Mysql Manual section 21.2 Database Backups.
  
  • docs/mysql/mysqldump.1186695144.txt.gz
  • Last modified: 2008/08/03 00:25
  • (external edit)