You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: messages/refresh.sandbox.md
+37-1Lines changed: 37 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Refresh a sandbox org using the sandbox name.
4
4
5
5
# description
6
6
7
-
Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its license type or template ID.
7
+
Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its license type or template ID. You can also use the --source-id or --source-sandbox-name flags to change the refreshed sandbox org's original source org to a new org; in this case, the refreshed sandbox org's metadata is updated with the new source org's metadata.
8
8
9
9
You're not allowed to change the sandbox name when you refresh it with this command. If you want to change the sandbox name, first delete it with the "org delete sandbox" command. And then recreate it with the "org create sandbox" command and give it a new name.
10
10
@@ -22,6 +22,10 @@ You're not allowed to change the sandbox name when you refresh it with this comm
Disable auto-activation of the sandbox after a successful refresh.
@@ -106,3 +110,35 @@ The poll interval (%d seconds) can't be larger than the wait period (%d in secon
106
110
# sandboxInfoRefreshFailed
107
111
108
112
The sandbox org refresh failed with a result of %s.
113
+
114
+
# flags.source-sandbox-name.summary
115
+
116
+
Name of the sandbox org that becomes the new source org for the refreshed sandbox.
117
+
118
+
# flags.source-sandbox-name.description
119
+
120
+
The value of --source-sandbox-name must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.
121
+
122
+
You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
123
+
124
+
# flags.source-id.summary
125
+
126
+
ID of the sandbox org that becomes the new source org for the refreshed sandbox.
127
+
128
+
# flags.source-id.description
129
+
130
+
The value of --source-id must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.
131
+
132
+
You can specify either --source-id or --source-sandbox-name when refreshing an existing sandbox, but not both.
133
+
134
+
# error.bothIdFlagAndDefFilePropertyAreProvided
135
+
136
+
You can't specify both the --source-id and --definition-file flags, and also include the "SourceId" option in the definition file. Pick one method of refreshing a sandbox and try again.
137
+
138
+
# error.bothNameFlagAndDefFilePropertyAreProvided
139
+
140
+
You can't specify both the --source-sandbox-name and --definition-file flags, and also include the "SourceSandboxName" option in the definition file. Pick one method of refreshing a sandbox and try again.
141
+
142
+
# error.bothIdFlagAndNameDefFileAreNotAllowed
143
+
144
+
You can't specify both the --source-sandbox-name and --definition-file flags, and also include the "SourceId" option in the definition file. Same with the --source-id flag and "SourceSandboxName" option. Pick one method of refreshing a sandbox and try again.
0 commit comments