Use Python Paramiko and MySQL Dump.