You need to sign in to do that
Don't have an account?
Sandbox Refresh. Will I lose triggers?
I just inherated an instance with one sandbox. I want to refresh it to update the fields and workflows I've added but this message stopped me in my tracks.
"You are about to delete your old sandbox called "Sandbox" and switch to the new copy you requested. This change cannot be undone. Note: This operation will completely delete your old "Sandbox" sandbox and all contents. To acknowledge that you have read and understood this warning, please type the sentence below into the text box before pressing Switch Sandbox Copy."
I'm farely new to this stuff. Will I lose triggers and test classes, and other things I do not know of? The instance only has one functioning sandbox, which is the one I wish to refresh.
Thanks!
Maybe. If you have code - or any changes - in your sandbox that have not been promoted to production, then yes you will lose those changes.
If you have access to Eclipse, you can do comparisons to see if what the changes are and then do one-off promotions until the two orgs are in sync. You can also use change sets to promote things from sandbox to production as needed.
Here's the problem, though: you just inherited the org, so you don't KNOW which version is correct. Hopefully, someone else does - or else there is a very high likelihood that something is going to get out of whack. If I'm right, the very FIRST thing you need to do is use Eclipse or another tool to BACKUP your metadata for BOTH orgs. That way, you have a fall-back position in case something goes wrong.
Good luck!
Thanks for such a thorough response. I will definitley do that.
Question though. Is there only the potential to loose things in the Sandbox that HAVE NOT been deployed to production?
If production is currently operating correctly and reactivating will overwrite the sandbox with a mirror image of my properly running production instance. Will production still behave as it does?
I guess I don't fully understand yet the relationship between Production and Sandbox.