Find your content:

Search form

You are here

How can I specify that a sanbox be created on a specific instance?


I looked at the Sandbox Setup Tips, but didn't see anything and I didn't see anything in the process of creating a sandbox for doing this.

I'd like to be able to specify which Salesforce instance (e.g., cs9, cs10, etc.) a sandbox is created on. The reason being that I've created some triggers/classes on cs9 which have api version 26 (Winter '13) and I created a new sandbox which got created on cs10 which is still on api version 25 (Summer '12).

I cannot move any of the classes/triggers that I created on cs9 to cs10.

Problem: Invalid api version:26.0

I know that I can change the api versions of the classes and triggers, but would rather not do so (might have some new api 26 functionality that I'd have to remove/refactor...ugh).

I'd like to be able to specify that my new sandbox be created on a api version 26 instance.

Attribution to: Peter Knolle

Possible Suggestion/Solution #1

In short - you can't.

Salesforce upgrades their sandboxes in two (or more) batches. Depending on where your sandbox is located, it either gets upgraded early or it gets upgraded late(r). It's typically a matter of weeks.

If you think about it - when you refresh a sandbox it creates an exact copy of your Prod org. Since your Prod org, most likely, is still on v25, your new sandbox will need to be directed to a v25 instance. Otherwise, it would need to be upgraded while being refreshed.

Any sandbox refreshed after Aug 31 is directed to an instance that will remain longer on v25. The only way you can (could have) controlled the instance is by refreshing on or before Aug 31.

Salesforce always posts instructions about these dates. You can find the instructions for the Winter '13 upgrade window on the Product blog.

Attribution to: JLiljegren__c
This content is remixed from stackoverflow or stackexchange. Please visit

My Block Status

My Block Content