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
+15-9Lines changed: 15 additions & 9 deletions
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.
@@ -109,30 +113,32 @@ The sandbox org refresh failed with a result of %s.
109
113
110
114
# flags.source-sandbox-name.summary
111
115
112
-
Name of the sandbox org to clone.
116
+
Name of the sandbox org that becomes the new source org for the refreshed sandbox.
113
117
114
118
# flags.source-sandbox-name.description
115
119
116
-
The value of --source-sandbox-name must be an existing sandbox. The existing sandbox, and the new sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.
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.
117
121
118
-
You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
122
+
You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
119
123
120
124
# flags.source-id.summary
121
125
122
-
ID of the sandbox org to clone.
126
+
ID of the sandbox org that becomes the new source org for the refreshed sandbox.
123
127
124
128
# flags.source-id.description
125
129
126
-
The value of --source-id must be an existing sandbox. The existing sandbox, and the new sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.
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.
127
133
128
134
# error.bothIdFlagAndDefFilePropertyAreProvided
129
135
130
-
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 cloning a sandbox and try again.
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.
131
137
132
138
# error.bothNameFlagAndDefFilePropertyAreProvided
133
139
134
-
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 cloning a sandbox and try again.
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.
135
141
136
142
# error.bothIdFlagAndNameDefFileAreNotAllowed
137
143
138
-
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 cloning a sandbox and try again.
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