- Newest
- Most votes
- Most comments
First, let me assure you that you won't lose any data in the scenario you described. The key to understanding this lies in correctly interpreting what "incremental" means in the context of RDS snapshots. Let's break it down:
-
Full vs. Incremental Snapshots:
- The first snapshot is indeed a full snapshot of your entire database.
- Subsequent snapshots are incremental, but this doesn't mean they only contain new data.
-
What "Incremental" Really Means:
- Incremental snapshots save storage space and time by only storing the changes since the last snapshot.
- However, when you restore from any snapshot, you get the full state of the database at that point in time.
-
Retention Period:
- The retention period determines how long AWS keeps your automated backups.
- It doesn't affect the completeness of your data within each snapshot.
Now, let's address your specific scenario:
Day 1: Full snapshot with rows 1-5
Day 2: Incremental snapshot (effectively contains rows 1-10)
Day 3: Incremental snapshot (effectively contains rows 1-15)
Day 4: Incremental snapshot (effectively contains rows 1-20)
Day 5: Restore point
When you restore on Day 5, even though you only have the last day's snapshot due to your 1-day retention period, this snapshot contains the full state of your database as of Day 4. This means it includes ALL data from Day 1 to Day 4 (rows 1-20).
The incremental nature of the snapshots is about how AWS stores the data internally, not about what data is available when you restore. Each snapshot, while stored incrementally, represents the complete state of your database at that point in time.
So, to directly answer your question: No, you won't lose the data added on the first and second days. When you restore from the latest snapshot, you'll get all the data up to the point of that snapshot, including rows 1-20 in your example.
Hello.
No, the data remains in the new snapshot even if you delete the old backup.
In other words, all IDs from 1 to 20 will remain in the database when restored.
I think the explanation in the following document will be helpful.
https://docs.aws.amazon.com/ebs/latest/userguide/ebs-deleting-snapshot.html#ebs-deleting-snapshot-incremental
Thank you for your answer!
Relevant content
asked 2 years ago
asked 2 years ago
- AWS OFFICIALUpdated 3 years ago

Thank you for your detailed explanation!