# mysqldump --verbose
flag
mysqldump
includes a --verbose
flag that allows you to display additional information about the backup process as it is occurring. Below is an example about how to use the flag:
mysqldump my_app --verbose > my_backup.sql
# When to use the --verbose
flag?
When creating a backup, you can include the --verbose
flag in the mysqldump command to see more detailed information about the tables that are being dumped, the number of rows that are being inserted, and the progress of the backup.
This can be useful if you want to have a better understanding of what is happening during the backup process or if you are troubleshooting an issue.
It is important to note that the --verbose
flag does not affect the content of the backup file itself, only the information that is displayed while the backup is being created.
If you do not want to see this additional information, you can omit the --verbose
flag from the mysqldump
command.