Return to Snippet

Revision: 5254
at February 24, 2008 06:31 by jarnaldich


Initial Code
# Backup:
mysqldump -u<usr> -p<pwd> <db> | gzip > <file>

# Restore:
gunzip <file> | mysql -u<usr> -p<pwd> <db>

Initial URL


Initial Description
MySQL backup and restore example through mysqldump / mysql command line utilities.

Initial Title
backup mysql databases

Initial Tags
mysql

Initial Language
Other