From dd58d5de41ccf2a5e736c466ad884db0d5a10770 Mon Sep 17 00:00:00 2001 From: Florent Huck Date: Thu, 18 Dec 2025 12:33:29 +0100 Subject: [PATCH 1/2] Add a note about source integ. when restoring backups --- sites/upsun/src/environments/restore.md | 4 ++++ 1 file changed, 4 insertions(+) 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 >}} From f2456f26190841752e0d947d39e62e73f4ba4d43 Mon Sep 17 00:00:00 2001 From: Florent Huck Date: Thu, 18 Dec 2025 12:35:27 +0100 Subject: [PATCH 2/2] adding same note on Fixed side --- sites/platform/src/environments/restore.md | 4 ++++ 1 file changed, 4 insertions(+) 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