本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
刪除 RDS Custom for SQL Server 快照
當您不再需要時,可以刪除由 RDS Custom for SQL Server 管理的資料庫快照。Amazon RDS 與 RDS Custom 資料庫執行個體的刪除程序相同。
二進位和根磁碟區的 Amazon EBS 快照會在您的帳戶中保留較長的時間,因為這些快照可能會連結到您帳戶中執行的某些執行個體或其他 RDS Custom for SQL Server 快照。這些 EBS 快照不再與任何現有 RDS Custom for SQL Server 資源 (資料庫執行個體或備份) 相關之後,會自動刪除這些快照。
若要刪除 RDS Custom 資料庫執行個體的快照
登入 AWS Management Console,開啟位於 https://console.aws.amazon.com/rds/
的 Amazon RDS 主控台。 -
在導覽窗格中,選擇 Snapshots (快照)。
-
選擇想要刪除的資料庫快照。
-
針對 Actions (動作),選擇 Delete Snapshot (刪除快照)。
-
在確認頁面上,選擇 Delete (刪除)。
若要刪除 RDS Custom 快照,請使用 AWS CLI 命令 delete-db-snapshot。
下列選項是必要的:
-
--db-snapshot-identifier– 要刪除的快照
以下範例會刪除 my-custom-snapshot 資料庫快照。
在 Linux、macOS 或 Unix 中:
aws rds delete-db-snapshot \ --db-snapshot-identifiermy-custom-snapshot
在 Windows 中:
aws rds delete-db-snapshot ^ --db-snapshot-identifiermy-custom-snapshot