Backing up MySQL with mysqldump
A simple way to back up MySQL databases is with the mysqldump
command line tool. Mysqldump can be used to back up a single database or multiple databases, and can backup MySQL databases into a text file conatining multiple SQL statements, or into CSV or tab delimited text files.