diff --git a/sites/platform/src/environments/restore.md b/sites/platform/src/environments/restore.md index a512a6c29d..040327d4ca 100644 --- a/sites/platform/src/environments/restore.md +++ b/sites/platform/src/environments/restore.md @@ -113,3 +113,7 @@ You can restore backups to a different environment than they were created on usi ```bash {{% vendor/cli %}} backup:restore --target={{% variable "TARGET_ENVIRONMENT_NAME" %}} --branch-from={{% variable "PARENT_ENVIRONMENT_NAME" %}} {{% variable "BACKUP_ID" %}} ``` + +{{< note theme="info" title="Source integration issue" >}} +If you have enabled [Source Integration](/integrations/source.md) for your project and you restore a backup into an environment that does not correspond to any Git branch in your repository, Source Integration will automatically delete the environment immediately after it is created. We strongly recommend that you first create the environment by creating a corresponding Git branch in your repository before restoring a backup to this environment. +{{< /note >}} \ No newline at end of file diff --git a/sites/upsun/src/environments/restore.md b/sites/upsun/src/environments/restore.md index 5372768e1a..6317f20f8b 100644 --- a/sites/upsun/src/environments/restore.md +++ b/sites/upsun/src/environments/restore.md @@ -116,3 +116,7 @@ You can restore backups to a different environment than they were created on usi ```bash {{% vendor/cli %}} backup:restore --target={{% variable "TARGET_ENVIRONMENT_NAME" %}} --branch-from={{% variable "PARENT_ENVIRONMENT_NAME" %}} {{% variable "BACKUP_ID" %}} ``` + +{{< note theme="info" title="Source integration issue" >}} +If you have enabled [Source Integration](/integrations/source.md) for your project and you restore a backup into an environment that does not correspond to any Git branch in your repository, Source Integration will automatically delete the environment immediately after it is created. We strongly recommend that you first create the environment by creating a corresponding Git branch in your repository before restoring a backup to this environment. +{{< /note >}}