Describe how you would migrate a large-scale data warehouse from a legacy system to a modern cloud-based solution with minimal downtime.