ladderlore
请求新指南
  • 输入服务名称,例如 S3 或 IAM。

概念 · 基于 CLF-C02

Backup and retention policies

Keep as many backups as your recovery and compliance rules need, and no more.

本课尚未翻译,暂以英文显示。

你在云从业者中已学过

  • AWS Backup centralizes backups.
  • Snapshots and point-in-time recovery protect databases.
  • Retention balances protection against cost.
阅读云从业者课程
  • RDS automated

    Kept for
    Up to 35 days
    Cost note
    Free up to database size
  • Manual snapshot

    Kept for
    Until you delete it
    Cost note
    Bills every month
  • DynamoDB PITR

    Kept for
    1 to 35 days
    Cost note
    Billed on table size
  • DynamoDB on-demand

    Kept for
    Until you delete it
    Cost note
    Billed on size
Retention by backup type.
Warm storage
Cold storage
Deleted
After N daysAfter M days
An AWS Backup lifecycle.

是什么

RDS and Aurora automated backups keep daily snapshots and logs for a retention period of up to 35 days. This lets you restore to any second in the window (point-in-time recovery). Backup storage up to the size of your database is free, and you pay beyond it. Longer retention and more frequent snapshots store more data. Manual snapshots stay until you delete them, even after you delete the database, and they keep billing, so clean them up.

DynamoDB point-in-time recovery restores to any second in a window of 1 to 35 days, and bills on table size. DynamoDB on-demand backups stay until you delete them and bill by size.

是什么

AWS Backup applies one plan across services. A lifecycle rule moves backups to cold storage after a number of days, and deletes them at the end of retention. Cold storage must be kept at least 90 days. It is cheaper, but only some services support it: Amazon EBS, Amazon EFS, Amazon DynamoDB, Amazon Timestream and VMware. For DynamoDB you must first turn on advanced features for DynamoDB backups in AWS Backup settings. Base retention on your recovery point objective and on legal rules, not on habit.

要记住

  • RDS automated backups: up to 35 days, with point-in-time recovery. Free up to database size.
  • Manual snapshots stay until deleted and keep billing. Delete old ones.
  • DynamoDB point-in-time recovery: 1 to 35 days. On-demand backups last until deleted.
  • AWS Backup lifecycle: move to cold storage, then delete. Cold storage needs 90 days at least.

要记住

  • Not every service supports cold storage. EBS, EFS and DynamoDB do. DynamoDB needs advanced features turned on.
  • Retention follows recovery point objective and legal rules. More frequent snapshots store more data.

考试中

  • “Restore RDS to 10 minutes ago” points to automated backups with point-in-time recovery.
  • “Keep DynamoDB backups for years at the lowest cost” points to AWS Backup with a cold storage lifecycle, with advanced features on for DynamoDB.
  • “Old manual snapshots keep adding cost” points to deleting snapshots, or a Backup lifecycle rule.