There are some techniques to employ to minimise downtime:
- Ensure that all features(database, subdomain, software configurations) are working properly before canceling the old hosting plan
- Refrain from making changes to the site until the process is complete.
- Download and compress backup files to the new server
- Update the new domain name servers as soon as the transfer is completed, not in the middle of migration