04 - RDS backup and Restore Flashcards
1
Q
RPO - Recovery point objective
A
- Time between last backup and incident
- Amount of maximum data loss
- Influences cost - the lower the RPO the higher the cost
2
Q
RTO - Recovery time objective
A
- Time between the DR event and full recovery
- Influenced by processes, staff, technology, and documentation
- Generally the lower the RTO, the higher the cost
3
Q
Backups
A
- Automated Backups - Use S3
- Manual Backups - Use S3
- S3 resiliency
4
Q
Snapshots
A
- Snapshot are manual and run against a RDS instance
- First snapshot is full backup
- Additional snapshot are incremental
- Small interruption to service
- Manual snapshots do not expire
- Snapshot take full instance including all DBs
- RDS can be configured for automated backups
- Occur during backup window
5
Q
Transaction Logs
A
- In addition every 5 min DB transaction logs are written to S3
- 5min RPO
- Automatic backups cleaned up 0-35 days
- Only way to ensure is a final snapshot
- Restore creates a new RDS instance - creates a new endpoint for the DB
- Snapshots single point in time.
- Automated any 5 minute point in time. Transaction logs.