Export all tables with a given prefix :
/usr/bin/mysql -u root --password=root yeswiki_dev -N -e 'show tables like "yeswiki\_%"' | xargs /usr/bin/mysqldump  yeswiki_dev -u root --password=root  > vail.sql