My question is If the AWS automatic backup takes the backup on daily bases then how we are able to restore our database to time latest of last 5 minutes even if the last backup was taken X hours ago? Where are the details till last 5 minute stored because the last backup was created some hours before(say 23 hours ago)?
2 things need to be understood :
1. automated backups
2. database snapshot
Automated backup feature of RDS BY DEFAULT enables point-in-time recovery of your DB instance. When automated backups are turned on for your DB Instance,RDS automatically performs a full daily snapshot of your data (during your preferred backup window) and captures transaction logs (as updates to your DB Instance are made).
So to answer your first question: When you initiate a point-in-time recovery, transaction logs are applied to the most appropriate daily backup in order to restore your DB instance to the specific time you requested.
The second question: where are my "details" , which are actually transactional logs stored? , at AWS RDS backend and you can see these logs on console as well
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With