# Migration Milestones

![`smart`](./student-guide/diagram/MigrationMilestones_aa_001_20230718.png)

-------------------------------------------------------------------------------
Perform the migration as follows:
1.Plan the migration
Planning the migration entails taking inventory of the source environment (the source `On-Premises MySQL / MariaDB` ) and deciding on the best migration strategy. To inventory the source environment, you must perform tasks such as determining the sizes of database files and checking which disaster recovery plans are in place. To decide on the best strategy, you should plan, for example, the best time of day to perform the migration.
2. Prepare for the migration
To prepare to migrate to the target environment (the `TiDB Cloud`), you must perform tasks such as ensuring that the database that you want to migrate is running.
3. Perform the migration
Finally, perform the migration by using Import Data of `TiDB Cloud`  + `Data Migration(DM)`.