Perl
Execute command
#!/usr/bin/perl
qx"/usr/bin/mysqldump --host=YOUR_HOST_NAME --password=YOUR_DB_PASS --user=YOUR_DB_USER YOUR_DB_NAME | bzip2 --best > export_db.sql.bz2";
Execute command
#!/usr/bin/perl
qx"/usr/bin/mysqldump --host=YOUR_HOST_NAME --password=YOUR_DB_PASS --user=YOUR_DB_USER YOUR_DB_NAME | bzip2 --best > export_db.sql.bz2";