I can’t believe that you did not find a suitable script for this. Depending on the bandwidth between the server and the server and the size of the table data, you can:
direct transfer of the entire table:
mysqldump [options] sourcedatabase tablename \
| mysql [options] --host remoteserver --user username ...
migrate table using MySQL compression
transmission using SSH encryption and compression; mysql runs remotely
mysqldump [options] sourcedatabase tablename \
| ssh -C user@remoteserver 'mysql [options]'
SQL rsync
mysqldump [options] sourcedb tbl > dump.sql
rsync [-z] dump.sql user@remoteserver:/path/to/remote/dump.sql
ssh user@remoteserver "mysql [options] < /path/to/remote/dump.sql"
, LOST . Mysqldump-plus-rsync-plus-ssh , , , 10- SQL- INSERTS, SQL.
, MySQL, , . , . " " " " .