From 22d56362716843f675c31058e0fe46f3c982fb69 Mon Sep 17 00:00:00 2001 From: yuanrui Date: Mon, 9 Dec 2024 20:30:59 +0800 Subject: [PATCH 1/5] br: add doc to latest backup protection --- tidb-cloud/backup-and-restore.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tidb-cloud/backup-and-restore.md b/tidb-cloud/backup-and-restore.md index 4d90cd3f1b611..ad050458a9f86 100644 --- a/tidb-cloud/backup-and-restore.md +++ b/tidb-cloud/backup-and-restore.md @@ -91,8 +91,9 @@ To configure the backup schedule, perform the following steps: > **Note** > - > - After you delete a cluster, the automatic backup files will be retained for a specified period, as set in backup retention. You need to delete the backup files accordingly. - > - After you delete a cluster, the existing manual backup files will be retained until you manually delete them, or your account is closed. + > - Auto-backups except the latest auto-backup will be deleted if the lifetime exceed the retention period. For the latest auto-backup, it will not be deleted until you delete it explicitly. This will prevent the cluster is deleted mistakenly and no data to restore. + > - After you delete a cluster, auto-backup which lifetime is not exceed the retention period will be retained in Recycle Bin. Auto-backups except the latest auto-backup will be deleted if the lifetime exceed the retention period. For the latest auto-backup, it will not be deleted until you delete it explicitly. This will prevent the cluster is deleted mistakenly and no data to restore. + > - After you delete a cluster, the existing manual backups will be retained until you manually delete them, or your account is closed. ### Turn on dual region backup From 45d946e2ae302b30ad1acc4e7fc67035433a4096 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 10 Dec 2024 14:24:06 +0800 Subject: [PATCH 2/5] Update tidb-cloud/backup-and-restore.md --- tidb-cloud/backup-and-restore.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tidb-cloud/backup-and-restore.md b/tidb-cloud/backup-and-restore.md index ad050458a9f86..c88bed346e00d 100644 --- a/tidb-cloud/backup-and-restore.md +++ b/tidb-cloud/backup-and-restore.md @@ -91,9 +91,9 @@ To configure the backup schedule, perform the following steps: > **Note** > - > - Auto-backups except the latest auto-backup will be deleted if the lifetime exceed the retention period. For the latest auto-backup, it will not be deleted until you delete it explicitly. This will prevent the cluster is deleted mistakenly and no data to restore. - > - After you delete a cluster, auto-backup which lifetime is not exceed the retention period will be retained in Recycle Bin. Auto-backups except the latest auto-backup will be deleted if the lifetime exceed the retention period. For the latest auto-backup, it will not be deleted until you delete it explicitly. This will prevent the cluster is deleted mistakenly and no data to restore. - > - After you delete a cluster, the existing manual backups will be retained until you manually delete them, or your account is closed. + > - All auto-backups, except the latest one, will be deleted if their lifetime exceeds the retention period. The latest auto-backup will not be deleted unless you delete it explicitly. This ensures that the cluster is not accidentally deleted without the ability to restore data. + > - After you delete a cluster, auto-backups with a lifetime within the retention period will be moved to the Recycle Bin. Auto-backups, except the latest one, will be deleted if their lifetime exceeds the retention period. The latest auto-backup will not be deleted unless you delete it explicitly. This prevents accidental cluster deletion with no data to restore. + > - After you delete a cluster, existing manual backups will be retained until manually deleted or your account is closed. ### Turn on dual region backup From e98f62620273db4673ce5ec6cf1f8882b350f7a1 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 10 Dec 2024 14:29:07 +0800 Subject: [PATCH 3/5] Update tidb-cloud/backup-and-restore.md --- tidb-cloud/backup-and-restore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore.md b/tidb-cloud/backup-and-restore.md index c88bed346e00d..a3bb187b9c6af 100644 --- a/tidb-cloud/backup-and-restore.md +++ b/tidb-cloud/backup-and-restore.md @@ -92,7 +92,7 @@ To configure the backup schedule, perform the following steps: > **Note** > > - All auto-backups, except the latest one, will be deleted if their lifetime exceeds the retention period. The latest auto-backup will not be deleted unless you delete it explicitly. This ensures that the cluster is not accidentally deleted without the ability to restore data. - > - After you delete a cluster, auto-backups with a lifetime within the retention period will be moved to the Recycle Bin. Auto-backups, except the latest one, will be deleted if their lifetime exceeds the retention period. The latest auto-backup will not be deleted unless you delete it explicitly. This prevents accidental cluster deletion with no data to restore. + > - After you delete a cluster, auto-backups with a lifetime within the retention period will be moved to the Recycle Bin. > - After you delete a cluster, existing manual backups will be retained until manually deleted or your account is closed. ### Turn on dual region backup From 0b7962ec426da3e46bf38ce109a33ceb9a94ed8d Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 10 Dec 2024 14:42:37 +0800 Subject: [PATCH 4/5] Update tidb-cloud/backup-and-restore.md --- tidb-cloud/backup-and-restore.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tidb-cloud/backup-and-restore.md b/tidb-cloud/backup-and-restore.md index a3bb187b9c6af..4791edcbd2c06 100644 --- a/tidb-cloud/backup-and-restore.md +++ b/tidb-cloud/backup-and-restore.md @@ -91,7 +91,7 @@ To configure the backup schedule, perform the following steps: > **Note** > - > - All auto-backups, except the latest one, will be deleted if their lifetime exceeds the retention period. The latest auto-backup will not be deleted unless you delete it explicitly. This ensures that the cluster is not accidentally deleted without the ability to restore data. + > - All auto-backups, except the latest one, will be deleted if their lifetime exceeds the retention period. The latest auto-backup will not be deleted unless you delete it explicitly. This ensures that a cluster still has data to restore after it is accidentally deleted. > - After you delete a cluster, auto-backups with a lifetime within the retention period will be moved to the Recycle Bin. > - After you delete a cluster, existing manual backups will be retained until manually deleted or your account is closed. From 0850f1e4edaee80881d2ac44efbf3bf284c67c45 Mon Sep 17 00:00:00 2001 From: xixirangrang Date: Tue, 10 Dec 2024 15:05:34 +0800 Subject: [PATCH 5/5] Apply suggestions from code review Co-authored-by: Aolin --- tidb-cloud/backup-and-restore.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tidb-cloud/backup-and-restore.md b/tidb-cloud/backup-and-restore.md index 4791edcbd2c06..f2413aba3e336 100644 --- a/tidb-cloud/backup-and-restore.md +++ b/tidb-cloud/backup-and-restore.md @@ -91,8 +91,8 @@ To configure the backup schedule, perform the following steps: > **Note** > - > - All auto-backups, except the latest one, will be deleted if their lifetime exceeds the retention period. The latest auto-backup will not be deleted unless you delete it explicitly. This ensures that a cluster still has data to restore after it is accidentally deleted. - > - After you delete a cluster, auto-backups with a lifetime within the retention period will be moved to the Recycle Bin. + > - All auto-backups, except the latest one, will be deleted if their lifetime exceeds the retention period. The latest auto-backup will not be deleted unless you delete it manually. This ensures that you can restore cluster data if accidental deletion occurs. + > - After you delete a cluster, auto-backups with a lifetime within the retention period will be moved to the recycle bin. > - After you delete a cluster, existing manual backups will be retained until manually deleted or your account is closed. ### Turn on dual region backup