Backup All Databases MySQL

export DATE=`date --rfc-3339=date` && mysqldump -u root -p --all-databases >~/bak/db-$DATE.sql

Leave a Reply

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.