- Newest
- Most votes
- Most comments
When restoring select data from a Timestream backup using AWS Backup, the process is based on the retention settings you specify rather than directly selecting a time range. The restoration process works as follows:
- You determine the earliest timestamp of the data you want to restore.
- You calculate the difference between this earliest timestamp and the current time.
- You set the memory store retention period (for recent data).
- You set the magnetic store retention period to cover the remaining time span.
In your specific scenario:
If you want to restore data from Day 1 to Day 2, you would need to set the retention periods accordingly. However, it's important to note that the restoration process doesn't strictly limit the data to the exact time range you specify. Instead, it restores all data that falls within the configured retention periods.
In this case, if you set the retention periods to cover Day 1 to Day 2, the restored table would indeed include the records added on Day 3 for Day 1, as these are part of the most recent backup (Incremental backup 2). This is because AWS Backup for Timestream focuses on the state of the data at the time of restoration, not the state at a specific point in the past.
It's worth noting that you are charged for restoring the entire backup, regardless of the retention periods you set. However, once the restore is completed, your restored table will only contain the data that falls within the configured retention periods.
This approach allows for flexibility in data restoration while maintaining the integrity and completeness of the time series data, ensuring that any late-arriving data or updates to historical records are included in the restoration.
Sources
Backing up and restoring Timestream tables: How it works - Amazon Timestream
Restoring a backup of an Amazon Timestream table - Amazon Timestream
answered 2 years ago
Relevant content
asked a year ago
asked 4 years ago
asked 2 years ago
- AWS OFFICIALUpdated a year ago

What if modifications on day 3 are unwanted? Is it impossible to restore a Timestream table to a day 2 state then?