How to migrate a huge 2T database from mysql database to another server

at present, there is a need to migrate a database from one server to another. I originally thought that I would use mysqldump to export and import it with source, but after taking a look at the database, I found that the amount of data in the database already had 2TB.
what import and export methods can be used to speed up the migration process?

Mar.13,2021

if you are migrating offline, copy the file directly.

if you are online, you can decide from Synchronize.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45c8f-44b76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45c8f-44b76.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?