Return to Snippet

Revision: 14871
at October 25, 2009 16:44 by alvarezrilla


Updated Code
mysqldump --opt --user=USER_NAME --password DB_NAME > DB_NAME.sql
mysql --user=USER_NAME --password DB_NAME < DB_NAME.sql

Revision: 14870
at June 15, 2009 15:34 by alvarezrilla


Initial Code
mysqldump --opt --user=root mibase > copia_seguridad.sql
mysql --password --user=miuser mibase < archivo.sql

Initial URL

                                

Initial Description
Will prompt for user password.

Initial Title
MySQL backup using mysqldump

Initial Tags
mysql, Bash, backup

Initial Language
Bash