mysqldump --user=myuser --password=mypass mydatabase > mydb.sql
You should be able to do the bzip at the same time as the dump: mysqldump --user=myuser --password=mypass mydatabase | bzip2 -- > mydb.sql That way, you don't use as much disk space.
In reply to Re^3: Perl and MySql
by Anonymous Monk
in thread Perl and MySql
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |