user@linux:~/files/blog> mysqldump --add-drop-table -h mysqlhostserver
-u mysqlusername -p databasename (tablename tablename tablename) | bzip2
-c > blog.bak.sql.bz2
===== Importar la misma base de datos =====
user@linux> mysql -h hostname -u username -p databasename < blog.bak.sql
O tambiƩn:
user@linux> bunzip2 -c filename.sql.bz2 | mysql -h hostname -u username - p databasename