Script to dump wordpress tables from mysql

Run this script with the db name as the first argument and it will create an export file to import/overwrite your existing wordpress tables