MySQL 9.1 Release Notes
This section surveys techniques that enable you to use mysqldump to solve specific problems:
How to make a copy a database
How to copy a database from one server to another
How to dump stored programs (stored procedures and functions, triggers, and events)
How to dump definitions and data separately