backup mysql schema only
snippet in sql

backup mysql schema only

user7593

mysqldump -u testuser -p --no-data testdb > /tmp/testdb_schema.sql

#Syntax:
mysqldump -u [MYSQL_USER] -p --no-data [DB_NAME] > [OUTPUT_FILE]