What to Do After Sandbox Refresh?
After refreshing your sandbox, you’re likely eager to get started with your testing and development activities. However, it’s essential to understand the implications of a sandbox refresh and what you should do next to ensure a smooth experience. In this article, we’ll guide you through the post-refresh tasks to help you make the most of your sandbox environment.
Select Auto Activate
When you refresh your sandbox, you’ll notice that the option to auto-activate the sandbox is available. Selecting Auto Activate will activate your sandbox immediately, and you won’t receive an activation email. This is a convenient option if you don’t need to receive an email notification.
Create a New Sandbox
If you’re refreshing a full sandbox, you’ll be prompted to create a new sandbox. Choose a name for your sandbox, and select the Create button to initiate the refresh process.
Wait for the Refresh Process to Complete
The refresh process may take some time, depending on the complexity of your org and the amount of data being transferred. Monitor the progress of the refresh process, and wait for it to complete before proceeding.
What Happens After Refresh?
After the refresh process is complete, your sandbox will be updated with the latest data and metadata from your source org. The org ID of your sandbox will change, and any custom settings or configurations will be reset to their default values.
Post-Refresh Tasks
To ensure a smooth experience after the refresh, follow these post-refresh tasks:
Activate Your Sandbox
If you didn’t select Auto Activate during the refresh process, you’ll need to activate your sandbox manually. Log in to your sandbox, and click on the Activate button to complete the activation process.
Update Your Sandbox Configuration
After the refresh, your sandbox configuration will be reset to its default values. Update your sandbox configuration to match your original settings, including custom settings, page layouts, and record types.
Re-Import Data
If you had imported data into your sandbox before the refresh, you’ll need to re-import the data after the refresh. This ensures that your sandbox is updated with the latest data.
Re-Run Apex Tests
If you had written Apex tests before the refresh, you’ll need to re-run the Apex tests after the refresh to ensure that they are still valid.
Verify Sandbox Performance
After the refresh, verify your sandbox performance to ensure that it’s running smoothly and efficiently.
Common Issues After Refresh
Here are some common issues you may encounter after a sandbox refresh:
| Issue | Solution |
|---|---|
| Sandbox is not activated | Check the activation email and ensure that you’ve activated your sandbox manually. |
| Data is missing or incomplete | Re-import the data into your sandbox. |
| Apex tests are failing | Re-run the Apex tests after the refresh. |
| Sandbox performance is slow | Check for any performance bottlenecks and optimize your sandbox configuration accordingly. |
Conclusion
Refreshing your sandbox is an essential part of the testing and development process. By following the post-refresh tasks outlined in this article, you can ensure a smooth experience and minimize downtime. Remember to update your sandbox configuration, re-import data, and re-run Apex tests after the refresh to ensure that your sandbox is running smoothly and efficiently.