This question already has an answer here:
I have a scenario:
Previous consultants and users had initially done some work inside our Production org (we have NEVER DEPLOYED to Production - they simply started to do the setup of this company's system there, then days/weeks later, created Sandboxes to continue the effort). They also installed managed packages that (most) will be used in the system (a couple will not).
There is no "return Production to virgin status" option built into SF.
Does anyone have information on how to properly "empty" a Production org, where Sandboxes are still attached and won't be affected?
I received a general response from SF, but it's not very helpful, especially if we're trying to keep this at an "Advanced SF Admin's" level.
After discussing this further, it is possible to use the Metadata API to delete the metadata in your Production org (with either the Force.com IDE, Workbench or ANT deployment tool), and this will leave your full sandbox unaffected. However, make sure not to refresh the sandbox after doing so until you've pushed the changes you want from full sandbox. We would not be able to do this for you but here are some documentation around these tools and the way to force destructive changes:
We have one single Object that will stay in Production with associated Chatter and file attachments.
Therefore, I want to "gut" Production, excluding:
- Requirements custom object and it's data
- Chatter (it will ONLY be on Requirements object anyway)
- Any files uploaded (they will ONLY be on Requirements object)
My initial thought, keeping this out of a Developer level solution, is:
- Uninstall ALL packages
- Use Change Sets to identify anything "custom" per "area" and search-and-delete from there
- Check for any data in any objects (other than Requirement) and delete (DataLoader/etc)
Is there something better? Is there a PACKAGE or UTILITY I don't know about that may do this?
UPDATE 2017-06-06: The idea is to keep this out of Developer-level solutions. [Advanced] Administrator level at the maximum.