Logical backup
A logical backup exports database schema objects and records into a portable representation, commonly SQL statements. In this course, mysqldump exports InnoDB data together with routines and triggers, and gzip compresses the resulting timestamped backup file.
Minimal example
mysqldump --single-transaction --routines --triggers \
-h mysql -u app -p"$MYSQL_PASSWORD" zomato | \
gzip > /backups/zomato-2026-11-04-020000.sql.gz