/ Published in: Other
MySQL backup and restore example through mysqldump / mysql command line utilities.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Backup: mysqldump -u<usr> -p<pwd> <db> | gzip > <file> # Restore: gunzip <file> | mysql -u<usr> -p<pwd> <db>