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: docusaurus/docs/cloud/projects/settings.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -309,6 +309,7 @@ The <Icon name="faders" /> *Configuration* tab for the environment-level setting
309
309
- the Node version of the environment: to change the Node version of the project (see [Modifying Node version](#modifying-node-version)).
310
310
- the app's internal name for the environment, which can be useful for debug & support purposes.
311
311
-*Connected branch*: to change the branch of the GitHub repository used for your environment (see [Editing Git branch](#editing-git-branch)). Also allows to enable/disable the "deploy on push" option.
312
+
-*Environment data*: to transfer data from another environment within the same project (see [Transferring data between environments](#transferring-data-between-environments)).
312
313
-*Danger zone*: to reset or permanently delete your Strapi Cloud project's environment (see [Resetting & Deleting environment](#resetting--deleting-environment)).
313
314
314
315
<ThemedImage
@@ -344,6 +345,33 @@ Ensure the Node version configured in your Strapi project matches the Node versi
344
345
345
346
3. Click on the **Save & deploy** button for the changes to take effect.
346
347
348
+
#### Transferring data between environments {#transferring-data-between-environments}
349
+
<CloudProBadge /> <CloudScaleBadge />
350
+
351
+
The data transfer feature allows you to transfer the entire CMS content (database and assets) from one environment to another within the same Strapi Cloud project. This is useful for testing changes in a secondary environment with up-to-date production data, or for preparing and staging content in a secondary environment before taking it to production.
352
+
353
+
Transferring data between environments currently comes with the following limitations:
354
+
355
+
- You can only transfer toward a secondary environment (not the production environment).
356
+
- Only project owners can initiate and manage ongoing transfers.
357
+
- Transfers cannot be initiated on projects that are suspended.
358
+
359
+
:::caution Data transfers are destructive
360
+
Transferring data to an environment will permanently overwrite all existing data and assets in the target environment. The source environment's data remains unaffected, and its CMS can be accessed during the transfer. Environment settings (such as variables and domains) are not affected by the transfer.
361
+
:::
362
+
363
+
To transfer data to a secondary environment:
364
+
365
+
1. Create and deploy both the source and target [environments](#environments).
366
+
1. In the *Environment data* section of the <Iconname="faders" /> *Configuration* tab, click on the **Import data** button.
367
+
2. In the modal that opens, select the source environment from the dropdown list. Only fully created and deployed environments are available as sources.
368
+
3. Click on **Import data** to proceed, and follow the steps to confirm the transfer.
369
+
4. Once initiated, you will be redirected to the environment's dashboard where you can monitor the transfer's progress. Once the transfer is completed, the dashboard will refresh, showing both the ongoing and historic deployments.
370
+
371
+
:::note
372
+
The CMS of the target environment will be inaccessible whilst the transfer is ongoing. You can cancel an ongoing transfer, but this will leave the target environment empty. If an error occurs during the transfer, you will have the option to retry or cancel.
373
+
:::
374
+
347
375
#### Resetting & Deleting environment
348
376
349
377
You can reset or delete any additional environment of your Strapi Cloud project, but it will be permanent and irreversible. The default, production environment, can however not be neither reset nor deleted.
Copy file name to clipboardExpand all lines: docusaurus/static/llms-full.txt
+28Lines changed: 28 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1146,6 +1146,7 @@ The *Configuration* tab for the environment-level settings enables you to check
1146
1146
- the Node version of the environment: to change the Node version of the project (see [Modifying Node version](#modifying-node-version)).
1147
1147
- the app's internal name for the environment, which can be useful for debug & support purposes.
1148
1148
- *Connected branch*: to change the branch of the GitHub repository used for your environment (see [Editing Git branch](#editing-git-branch)). Also allows to enable/disable the "deploy on push" option.
1149
+
- *Environment data*: to transfer data from another environment within the same project (see [Transferring data between environments](#transferring-data-between-environments)).
1149
1150
- *Danger zone*: to reset or permanently delete your Strapi Cloud project's environment (see [Resetting & Deleting environment](#resetting--deleting-environment)).
1150
1151
1151
1152
#### Modifying Node version
@@ -1169,6 +1170,33 @@ The environment's Node version is based on the one chosen at the creation of the
1169
1170
1170
1171
3. Click on the **Save & deploy** button for the changes to take effect.
1171
1172
1173
+
#### Transferring data between environments {#transferring-data-between-environments}
1174
+
1175
+
The data transfer feature allows you to transfer the entire CMS content (database and assets) from one environment to another within the same project. This is useful for testing changes in a secondary environment with up-to-date production data, or for preparing and staging content in a secondary environment before taking it to production.
1176
+
1177
+
This feature currently comes with the following limitations:
1178
+
1179
+
- The feature is only available for transfers toward a secondary environment (not the production environment).
1180
+
- Only project owners can initiate and manage ongoing transfers.
1181
+
- Transfers cannot be initiated on projects that are suspended.
1182
+
1183
+
:::caution Data transfers are destructive
1184
+
Transferring data to an environment will permanently overwrite all existing data and assets in the target environment. The source environment's data remains unaffected, and its CMS can be accessed during the transfer. Environment settings (such as variables and domains) are not affected by the transfer.
1185
+
:::
1186
+
1187
+
:::prerequisites
1188
+
- The source and target environments must be fully created and deployed.
1189
+
:::
1190
+
1191
+
1. In the *Environment data* section of the *Configuration* tab, click on the **Import data** button.
1192
+
2. In the modal that opens, select the source environment from the dropdown list. Only fully created and deployed environments are available as sources.
1193
+
3. Click on **Import data** to proceed, and follow the steps to confirm the transfer.
1194
+
4. Once initiated, you will be redirected to the environment's dashboard where you can monitor the transfer's progress. Once the transfer is completed, the dashboard will refresh, showing both the ongoing and historic deployments.
1195
+
1196
+
:::note
1197
+
The CMS of the target environment will be inaccessible whilst the transfer is ongoing. You can cancel an ongoing transfer, but this will leave the target environment empty. If an error occurs during the transfer, you will have the option to retry or cancel.
1198
+
:::
1199
+
1172
1200
#### Resetting & Deleting environment
1173
1201
1174
1202
You can reset or delete any additional environment of your Strapi Cloud project, but it will be permanent and irreversible. The default, production environment, can however not be neither reset nor deleted.
0 commit comments