MySQL Structure Backup

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



Post comment