mamp backup database code example
Example: mamp backup database
/Applications/MAMP/Library/bin/mysqldump -u root -proot database_name > database_name.sql
/Applications/MAMP/Library/bin/mysqldump -u root -proot database_name > database_name.sql