## End of Exercises

Congratulations! You have completed the lab on exporting and importing data using TiDB Dumpling and TiDB Lightning.

In this lab, you learned how to:

- Use **Dumpling** to export data from both TiDB and MySQL databases into logical SQL files.
- Inspect and verify the exported data files and metadata.
- Prepare your TiDB environment for data import by dropping and recreating databases as needed.
- Use **TiDB Lightning** to efficiently import large datasets into TiDB from the exported files.
- Understand the structure and contents of the exported data directories.

By following these steps, you have gained hands-on experience with logical backup and restore workflows in TiDB, which are essential for data migration, backup, and disaster recovery scenarios.

You are now ready to apply these skills in real-world TiDB administration tasks!
