mysqldump --all-databases --single-transaction --quick --lock-tables=false > full-backup-$(date +%F).sql -u root -p
Replace root with other user that has permission to access all databases if necessary.
A journey of sys administration
mysqldump --all-databases --single-transaction --quick --lock-tables=false > full-backup-$(date +%F).sql -u root -p
Replace root with other user that has permission to access all databases if necessary.