upsun sql-dump -e mainto download a copy of the production database.ddev import-db --file=database_name.sqlto import the dump into your local.rm config/sync/*to remove all stored config files. This is a precaution, in case there are obsolete files in the directory.ddev drush crThis is really the digital equivalent of throwing salt over one's shoulder, but it does delete the cached config, so maybe not such a bad idea.ddev drush cexto export the current config.- At this point, if the configuration was synced previously,
git statuswill show no changes. If there are changes, continue to step 7. - Commit all the changed/added config files, push to stage and merge to main. You might wish to check the configuration sync page on stage to make sure nothing untoward has happened, although you will need to first sync the database back from main to stage to be sure that you're not comparing against an outdated config table.