停止快照共用 - Amazon Aurora

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

停止快照共用

若要停止共用資料庫叢集快照,請從目標移除權限 AWS 帳戶。

停止與手動資料庫叢集快照共用 AWS 帳戶
  1. 登錄 AWS Management Console 並在打開 Amazon RDS 控制台https://console.aws.amazon.com/rds/

  2. 在導覽窗格中,選擇 Snapshots (快照)

  3. 選取您要停止共享的手動快照。

  4. 選擇 Actions (動作),然後選擇 Share snapshot (共用快照)。

  5. 若要移除的權限 AWS 帳戶,請從授權 AWS 帳戶清單中針對該帳戶的帳號識別碼選擇 [除]。

  6. 選擇儲存,以儲存變更。

若要從清單中移除 AWS 帳戶 識別碼,請使用--values-to-remove參數。

範例 停止快照共用

下列範例會防止 AWS 帳戶 識別碼 444455556666 還原快照集。

對於LinuxmacOS、或Unix:

aws rds modify-db-cluster-snapshot-attribute \ --db-cluster-snapshot-identifier manual-cluster-snapshot1 \ --attribute-name restore \ --values-to-remove 444455556666

在 Windows 中:

aws rds modify-db-cluster-snapshot-attribute ^ --db-cluster-snapshot-identifier manual-cluster-snapshot1 ^ --attribute-name restore ^ --values-to-remove 444455556666

若要移除的共用權限 AWS 帳戶,請使用AttributeName設定為restoreValuesToRemove參數的ModifyDBClusterSnapshotAttribute作業。若要將手動快照標示為私有,請從 all 屬性的值清單移除 restore 值。