We are working on a project where we are moving from a old legacy system to a new system.
So prior going live we do data compare between old system database and non-prod database(we enabled new potential production flow in the non-prod environment for ~2 weeks)
When are are comfortable, we plan a release where we'll migrate to new system and we'll copy the 2 weeks of data that we had in non-prod in actual production system.
Now, with this approach there are chances that the manual insert scripts will face issues and may probably corrupt/delete data. I feel this is a very risky approach as my production database already has huge amount of data.
Is there are any guidelines/ideas to migrate such a system to production more reliably ? or database insert scripts are my only choice?