To backup / dump only the structure of a MySQL database (without the data) use the following:
mysqldump -u root -p –no-data –all-databases > /var/struct_only.sql
Red Branch | For Future Reference …
mysqldump -u root -p –no-data –all-databases > /var/struct_only.sql