I am very new to SFDX and no sure if I get it right. We have existing instance of SF. It lives quite long time now and we have there loads of custom changes.
So I basically created unmanaged package with all those changes, create VS Code project, migrated data from unmanaged package to the project, created default scratch org and tried to push source code from project to the scratch org.
I got enormous list of errors, lot of them cannot be tracked down. If I'd try to do that incrementally, it would take me probably days. And I would be forced to do that for every new scratch org.
So I was wondering if there is any other way, how to create scratch org, which will be duplicate of my prod SF instance?