I use the MySQL Administrator , it allows you to backup / export interactively to a file (and restore from a file). From the command line what @Aif said. If you are concerned about the atomicity / consistent state of the database, first run LOCK TABLES and then UNLOCK TABLES.